mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not hide pui gateway on pay for order page
This commit is contained in:
parent
ff2ff8d31f
commit
00b40dc6de
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ class PayUponInvoice {
|
|||
}
|
||||
|
||||
$cart = WC()->cart ?? null;
|
||||
if ( $cart ) {
|
||||
if ( $cart && ! is_checkout_pay_page() ) {
|
||||
$cart_total = (float) $cart->get_total( 'numeric' );
|
||||
if ( $cart_total < 5 || $cart_total > 2500 ) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue