mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
do not show dcc fields on checkout when in active payment session
This commit is contained in:
parent
c86115dd33
commit
67a702957f
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ class SmartButton implements SmartButtonInterface
|
||||||
if (
|
if (
|
||||||
$this->settings->has('dcc_checkout_enabled')
|
$this->settings->has('dcc_checkout_enabled')
|
||||||
&& $this->settings->get('dcc_checkout_enabled')
|
&& $this->settings->get('dcc_checkout_enabled')
|
||||||
|
&& ! $this->sessionHandler->order()
|
||||||
) {
|
) {
|
||||||
add_action(
|
add_action(
|
||||||
'woocommerce_review_order_after_submit',
|
'woocommerce_review_order_after_submit',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue