diff --git a/includes/class-wc-payment-gateway-wcpay.php b/includes/class-wc-payment-gateway-wcpay.php index 5a120f3699e..cd74db21c0f 100644 --- a/includes/class-wc-payment-gateway-wcpay.php +++ b/includes/class-wc-payment-gateway-wcpay.php @@ -1118,7 +1118,7 @@ public function process_payment_for_order( $cart, $payment_information, $schedul $request->set_payment_methods( $payment_methods ); $request->set_cvc_confirmation( $payment_information->get_cvc_confirmation() ); - if ( 1 === count( $payment_methods ) && 'card' !== $payment_methods[0] ) { + if ( WC_Payments_Features::is_upe_deferred_intent_enabled() ) { $request->set_return_url( wp_sanitize_redirect( esc_url_raw(