mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
🐛 Disable BCDC on Block Checkout
This commit is contained in:
parent
0de1d21a76
commit
57e70683b1
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class DisabledFundingSources {
|
|||
* @return array
|
||||
*/
|
||||
private function apply_context_rules( array $disable_funding ) : array {
|
||||
if ( 'MX' === $this->merchant_country && $this->dcc_configuration->is_bcdc_enabled() ) {
|
||||
if ( 'MX' === $this->merchant_country && $this->dcc_configuration->is_bcdc_enabled() && is_checkout() ) {
|
||||
return $disable_funding;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue