diff --git a/modules/ppcp-wc-gateway/src/WCGatewayModule.php b/modules/ppcp-wc-gateway/src/WCGatewayModule.php index c39bedbbf..2edcaf7d8 100644 --- a/modules/ppcp-wc-gateway/src/WCGatewayModule.php +++ b/modules/ppcp-wc-gateway/src/WCGatewayModule.php @@ -649,7 +649,7 @@ class WCGatewayModule implements ServiceModule, ExtendingModule, ExecutableModul $standard_card_button = get_option( 'woocommerce_ppcp-card-button-gateway_settings' ); - if ( $dcc_configuration->is_enabled() && isset( $standard_card_button['enabled'] ) ) { + if ( $dcc_configuration->is_acdc_enabled() && isset( $standard_card_button['enabled'] ) ) { $standard_card_button['enabled'] = 'no'; update_option( 'woocommerce_ppcp-card-button-gateway_settings', $standard_card_button ); }