mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Merge pull request #612 from woocommerce/PCP-648-pre-release-1.8.0-disabling-dcc-
Do not set PayPal gateway enabled on credit card gateway
This commit is contained in:
commit
1c92a56e69
1 changed files with 0 additions and 1 deletions
|
@ -471,7 +471,6 @@ class CreditCardGateway extends \WC_Payment_Gateway_CC {
|
|||
if ( 'enabled' === $key ) {
|
||||
|
||||
$this->config->set( 'dcc_enabled', 'yes' === $value );
|
||||
$this->config->set( 'enabled', 'yes' === $value );
|
||||
$this->config->persist();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue