do not show dcc fields on checkout when in active payment session

This commit is contained in:
David Remer 2020-07-09 13:14:01 +03:00
parent c86115dd33
commit 67a702957f

View file

@ -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',