From 6cc30a24544116f361410e2ffadc74acf24b4bd4 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Tue, 5 Oct 2021 16:31:48 +0200 Subject: [PATCH] Add gateway initialization --- app/PaymentDrivers/Stripe/SEPA.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/PaymentDrivers/Stripe/SEPA.php b/app/PaymentDrivers/Stripe/SEPA.php index a17bbe43aa36..dd373571f968 100644 --- a/app/PaymentDrivers/Stripe/SEPA.php +++ b/app/PaymentDrivers/Stripe/SEPA.php @@ -15,9 +15,17 @@ namespace App\PaymentDrivers\Stripe; use App\Http\Requests\Request; use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; use App\PaymentDrivers\Common\MethodInterface; +use App\PaymentDrivers\StripePaymentDriver; class SEPA implements MethodInterface { + /** @var StripePaymentDriver */ + public StripePaymentDriver $stripe; + + public function __construct(StripePaymentDriver $stripe) + { + $this->stripe = $stripe; + } public function authorizeView(array $data) { } public function authorizeResponse(Request $request) { }