Initialize GoCardlessPro\Client

This commit is contained in:
Benjamin Beganović 2021-10-19 18:02:48 +02:00
parent 84009487a5
commit 33e2c5d054

View File

@ -15,9 +15,19 @@ namespace App\PaymentDrivers\GoCardless;
use App\Http\Requests\Request; use App\Http\Requests\Request;
use App\PaymentDrivers\Common\MethodInterface; use App\PaymentDrivers\Common\MethodInterface;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\GoCardlessPaymentDriver;
class SEPA implements MethodInterface class SEPA 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 authorizeView(array $data) { }
public function authorizeResponse(Request $request) { } public function authorizeResponse(Request $request) { }