diff --git a/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php b/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php index 7d7e14bee..c39d03745 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php +++ b/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php @@ -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;