mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 19:48:52 +08:00
do not apply shipping callback on classic checkout
This commit is contained in:
parent
effa906bbe
commit
a835742755
1 changed files with 1 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ document.querySelector("#payment").before(document.querySelector(".ppcp-messages
|
||||||
'user' => array(
|
'user' => array(
|
||||||
'is_logged' => is_user_logged_in(),
|
'is_logged' => is_user_logged_in(),
|
||||||
),
|
),
|
||||||
'should_handle_shipping_in_paypal' => $this->should_handle_shipping_in_paypal
|
'should_handle_shipping_in_paypal' => $this->should_handle_shipping_in_paypal && ! $this->is_checkout(),
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( 'pay-now' === $this->context() ) {
|
if ( 'pay-now' === $this->context() ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue