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