Skip to content

Commit

Permalink
txt_description
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseHCalderon authored Sep 6, 2023
1 parent de36f51 commit a0d622d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -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'],
Expand Down Expand Up @@ -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'],
Expand All @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion includes/class-fullculqi-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a0d622d

Please sign in to comment.