From bb2d920e04814e03ec3a99d0f5274b1a05152bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 24 Sep 2021 23:36:17 +0200 Subject: [PATCH] Add `Bancontact` to MolliePaymentDriver --- app/PaymentDrivers/MolliePaymentDriver.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/PaymentDrivers/MolliePaymentDriver.php b/app/PaymentDrivers/MolliePaymentDriver.php index 1bffcca72cdf..4611e325bfbf 100644 --- a/app/PaymentDrivers/MolliePaymentDriver.php +++ b/app/PaymentDrivers/MolliePaymentDriver.php @@ -24,6 +24,7 @@ use App\Models\Payment; use App\Models\PaymentHash; use App\Models\PaymentType; use App\Models\SystemLog; +use App\PaymentDrivers\Mollie\Bancontact; use App\PaymentDrivers\Mollie\CreditCard; use App\Utils\Traits\MakesHash; use Illuminate\Support\Facades\Validator; @@ -64,6 +65,7 @@ class MolliePaymentDriver extends BaseDriver */ public static $methods = [ GatewayType::CREDIT_CARD => CreditCard::class, + GatewayType::BANCONTACT => Bancontact::class, ]; const SYSTEM_LOG_TYPE = SystemLog::TYPE_MOLLIE; @@ -84,6 +86,7 @@ class MolliePaymentDriver extends BaseDriver $types = []; $types[] = GatewayType::CREDIT_CARD; + $types[] = GatewayType::BANCONTACT; return $types; }