Skip to content

Commit

Permalink
Update method call in the main gateway class
Browse files Browse the repository at this point in the history
Looks like new reference of the method that came with the latest code from develop.
  • Loading branch information
anu-rock committed Jan 2, 2024
1 parent 5f1a297 commit 8c2f80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-payment-gateway-wcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ public function process_redirect_payment( $order, $intent_id, $save_payment_meth
}
}

$this->order_service->attach_intent_info_to_order( $order, $intent_id, $status, $payment_method_id, $customer_id, $charge_id, $currency );
$this->order_service->attach_intent_info_to_order( $order, $intent );
$this->attach_exchange_info_to_order( $order, $charge_id );
if ( Intent_Status::SUCCEEDED === $status ) {
$this->duplicate_payment_prevention_service->remove_session_processing_order( $order->get_id() );
Expand Down

0 comments on commit 8c2f80f

Please sign in to comment.