mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix merge conflict
This commit is contained in:
parent
495b719a54
commit
11c96608f1
1 changed files with 5 additions and 0 deletions
|
@ -106,6 +106,11 @@ 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