diff --git a/modules/ppcp-wc-gateway/src/Checkout/DisableGateways.php b/modules/ppcp-wc-gateway/src/Checkout/DisableGateways.php index dffecca37..b9fb934eb 100644 --- a/modules/ppcp-wc-gateway/src/Checkout/DisableGateways.php +++ b/modules/ppcp-wc-gateway/src/Checkout/DisableGateways.php @@ -107,7 +107,7 @@ class DisableGateways { */ private function needs_to_disable_gateways(): bool { $wc_ajax = filter_input( INPUT_GET, 'wc-ajax', FILTER_SANITIZE_STRING ) ?? ''; - if ( $wc_ajax === 'update_order_review' ) { + if ( $wc_ajax === 'update_order_review' && $this->session_handler->funding_source() !== 'paypal' ) { return false; }