diff --git a/app/PaymentDrivers/GoCardless/InstantBankPay.php b/app/PaymentDrivers/GoCardless/InstantBankPay.php index 0d7ceb96754b..824121f5f58c 100644 --- a/app/PaymentDrivers/GoCardless/InstantBankPay.php +++ b/app/PaymentDrivers/GoCardless/InstantBankPay.php @@ -5,9 +5,19 @@ namespace App\PaymentDrivers\GoCardless; use Illuminate\Http\Request; use App\PaymentDrivers\Common\MethodInterface; use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; +use App\PaymentDrivers\GoCardlessPaymentDriver; class InstantBankPay implements MethodInterface { + protected GoCardlessPaymentDriver $go_cardless; + + public function __construct(GoCardlessPaymentDriver $go_cardless) + { + $this->go_cardless = $go_cardless; + + $this->go_cardless->init(); + } + public function authorizeView(array $data) { } public function authorizeResponse(Request $request) { }