Merge pull request #4775 from beganovich/v5-2701-disable-google-apple-pay

(v5) Disable SEPA, Apple, Google PAY
This commit is contained in:
Benjamin Beganović 2021-01-27 12:01:24 +01:00 committed by GitHub
commit 0c7ae3bca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,10 +96,10 @@ class StripePaymentDriver extends BaseDriver
$types = [
GatewayType::CREDIT_CARD,
GatewayType::BANK_TRANSFER,
GatewayType::SEPA,
GatewayType::CRYPTO,
GatewayType::ALIPAY,
GatewayType::APPLE_PAY,
// GatewayType::SEPA, // TODO: Missing implementation
// GatewayType::APPLE_PAY, // TODO:: Missing implementation
];
if ($this->company_gateway->getSofortEnabled() && $this->invitation && $this->client() && isset($this->client()->country) && in_array($this->client()->country, ['AUT', 'BEL', 'DEU', 'ITA', 'NLD', 'ESP'])) {