🐛 Stop enforcing card payments in checkout

Removed a filter that reverted settings entered in the legacy UI’s “Disable Alternative Payment Methods” field.
This commit is contained in:
Philipp Stracker 2025-03-18 16:21:34 +01:00
parent e9b3cc61d2
commit 09c4f176d0
No known key found for this signature in database

View file

@ -152,11 +152,7 @@ class DisabledFundingSources {
return $disable_funding; return $disable_funding;
} }
// A checkout page without ACDC: Load card button. return $disable_funding;
return array_filter(
$disable_funding,
static fn( string $funding_source ) => $funding_source !== 'card'
);
} }
/** /**