mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
Merge pull request #769 from woocommerce/PCP-850-during-pay-pal-express-checkout-pui-is-available-as-a-payment-method
During PayPal express checkout all gateways are available as a payment method (850)
This commit is contained in:
commit
59e257679f
1 changed files with 0 additions and 5 deletions
|
@ -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' ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$order = $this->session_handler->order();
|
||||
if ( ! $order ) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue