diff --git a/modules/ppcp-button/src/Helper/DisabledFundingSources.php b/modules/ppcp-button/src/Helper/DisabledFundingSources.php index c23b9eed4..c2cf3bd43 100644 --- a/modules/ppcp-button/src/Helper/DisabledFundingSources.php +++ b/modules/ppcp-button/src/Helper/DisabledFundingSources.php @@ -132,14 +132,14 @@ class DisabledFundingSources { * @return array */ private function apply_context_rules( array $disable_funding ) : array { - if ( ! is_checkout() || ! $this->dcc_configuration->is_bcdc_enabled() ) { - // Non-checkout pages, or BCDC disabled: Don't load card payments. + if ( ! is_checkout() || $this->dcc_configuration->is_acdc_enabled() ) { + // Non-checkout pages, or ACDC enabled: Don't load card button. $disable_funding[] = 'card'; return $disable_funding; } - // A checkout page and BCDC is enabled: Load card payments. + // A checkout page without ACDC: Load card button. return array_filter( $disable_funding, static fn( string $funding_source ) => $funding_source !== 'card'