From fb712b546c659ddca0d3dca88285aeab7889640f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Sun, 31 Oct 2021 14:50:54 +0100 Subject: [PATCH] Add BrowserPay to StripePaymentDriver --- app/PaymentDrivers/StripePaymentDriver.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/StripePaymentDriver.php b/app/PaymentDrivers/StripePaymentDriver.php index 6ae31452ba21..648f6fd66518 100644 --- a/app/PaymentDrivers/StripePaymentDriver.php +++ b/app/PaymentDrivers/StripePaymentDriver.php @@ -40,6 +40,7 @@ use App\PaymentDrivers\Stripe\EPS; use App\PaymentDrivers\Stripe\Bancontact; use App\PaymentDrivers\Stripe\BECS; use App\PaymentDrivers\Stripe\ACSS; +use App\PaymentDrivers\Stripe\BrowserPay; use App\PaymentDrivers\Stripe\UpdatePaymentMethods; use App\PaymentDrivers\Stripe\Utilities; use App\Utils\Traits\MakesHash; @@ -82,7 +83,7 @@ class StripePaymentDriver extends BaseDriver GatewayType::BANK_TRANSFER => ACH::class, GatewayType::ALIPAY => Alipay::class, GatewayType::SOFORT => SOFORT::class, - GatewayType::APPLE_PAY => ApplePay::class, + GatewayType::APPLE_PAY => BrowserPay::class, GatewayType::SEPA => SEPA::class, GatewayType::PRZELEWY24 => PRZELEWY24::class, GatewayType::GIROPAY => GIROPAY::class, @@ -139,7 +140,8 @@ class StripePaymentDriver extends BaseDriver { $types = [ // GatewayType::CRYPTO, - GatewayType::CREDIT_CARD + GatewayType::CREDIT_CARD, + GatewayType::APPLE_PAY, ]; if ($this->client