mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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 (
|
||||
$this->settings->has('dcc_checkout_enabled')
|
||||
&& $this->settings->get('dcc_checkout_enabled')
|
||||
&& ! $this->sessionHandler->order()
|
||||
) {
|
||||
add_action(
|
||||
'woocommerce_review_order_after_submit',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue