Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asumaran committed Jul 12, 2024
1 parent d9e0f9e commit 58d2f22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

Disable ECE for non shipping products if Tax is calculated on billing address
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static function maybe_append_fraud_prevention_token() {
return;
}

// Don't add the token if the user isn't on the cart, checkout or product page.
// Don't add the token if the user isn't on the cart, checkout, product or pay for order page.
// Checking the product and cart page too because the user can pay quickly via the payment buttons on that page.
if ( ! is_checkout() && ! is_cart() && ! is_product() && ! $instance->is_pay_for_order_page() ) {
return;
Expand Down

0 comments on commit 58d2f22

Please sign in to comment.