diff --git a/includes/3rd-party/plugins/woocommerce/class-fullculqi-wc-process.php b/includes/3rd-party/plugins/woocommerce/class-fullculqi-wc-process.php index e00418a..c69b552 100644 --- a/includes/3rd-party/plugins/woocommerce/class-fullculqi-wc-process.php +++ b/includes/3rd-party/plugins/woocommerce/class-fullculqi-wc-process.php @@ -264,7 +264,7 @@ public static function charge( $post_data = [] ) { $args_charges = apply_filters( 'fullculqi/process/charge_args', [ 'amount' => fullculqi_format_total( $order->get_total() ), 'currency_code' => $order->order_currency, - 'description' => substr( str_pad( $desc, 5, '_' ), 0, 80 ), + 'description' => 'Venta desde plugin WooCommece',//substr( str_pad( $desc, 5, '_' ), 0, 80 ), 'capture' => true, //'email' => $order->billing_email, 'email' => $post_data['email'], @@ -279,7 +279,7 @@ public static function charge( $post_data = [] ) { $args_charges = apply_filters( 'fullculqi/process/charge_args', [ 'amount' => fullculqi_format_total( $order->get_total() ), 'currency_code' => $order->order_currency, - 'description' => substr( str_pad( $desc, 5, '_' ), 0, 80 ), + 'description' => 'Venta desde plugin WooCommece',//substr( str_pad( $desc, 5, '_' ), 0, 80 ), 'capture' => true, //'email' => $order->billing_email, 'email' => $post_data['email'], @@ -332,7 +332,7 @@ public static function charge( $post_data = [] ) { $args_charges = apply_filters( 'fullculqi/process/charge_args', [ 'amount' => fullculqi_format_total( $order->get_total() ), 'currency_code' => $order->get_currency(), - 'description' => substr( str_pad( $desc, 5, '_' ), 0, 80 ), + 'description' => 'Venta desde plugin WooCommece',//substr( str_pad( $desc, 5, '_' ), 0, 80 ), 'capture' => true, //'email' => $order->get_billing_email(), 'email' => $post_data['email'], @@ -347,7 +347,7 @@ public static function charge( $post_data = [] ) { $args_charges = apply_filters( 'fullculqi/process/charge_args', [ 'amount' => fullculqi_format_total( $order->get_total() ), 'currency_code' => $order->get_currency(), - 'description' => substr( str_pad( $desc, 5, '_' ), 0, 80 ), + 'description' => 'Venta desde plugin WooCommece',//substr( str_pad( $desc, 5, '_' ), 0, 80 ), 'capture' => true, //'email' => $order->get_billing_email(), 'email' => $post_data['email'], diff --git a/includes/class-fullculqi-checkout.php b/includes/class-fullculqi-checkout.php index 6707231..fe96548 100644 --- a/includes/class-fullculqi-checkout.php +++ b/includes/class-fullculqi-checkout.php @@ -65,7 +65,7 @@ static public function simple($order, $culqi_token, $log) { $args_payment = apply_filters('fullculqi/checkout/simple_args', [ 'amount' => fullculqi_format_total($order->get_total()), 'currency_code' => $order->get_currency(), - 'description' => substr(str_pad(implode(', ', $pnames), 5, '_'), 0, 80), + 'description' => 'Venta desde plugin WooCommece',//substr(str_pad(implode(', ', $pnames), 5, '_'), 0, 80), 'capture' => true, 'email' => $order->get_billing_email(), 'installments' => $installments,