mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not set PayPal gateway enabled on credit card gateway
This commit is contained in:
parent
7c2b36b045
commit
36151c8296
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