1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Initialize GoCardlessPro\Client

This commit is contained in:
Benjamin Beganović 2021-11-11 15:57:41 +01:00
parent 085bcbe3c3
commit 619803f2be

View File

@ -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) { }