From 8c2f80ffe414e040c88c32e5e73e7e3f5bf1df27 Mon Sep 17 00:00:00 2001 From: Anurag Bhandari Date: Tue, 2 Jan 2024 17:02:05 +0530 Subject: [PATCH] Update method call in the main gateway class Looks like new reference of the method that came with the latest code from develop. --- includes/class-wc-payment-gateway-wcpay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-payment-gateway-wcpay.php b/includes/class-wc-payment-gateway-wcpay.php index 1e356ef6e17..4a12828256e 100644 --- a/includes/class-wc-payment-gateway-wcpay.php +++ b/includes/class-wc-payment-gateway-wcpay.php @@ -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() );