mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Initialize GoCardlessPro\Client
This commit is contained in:
parent
32f81ab253
commit
b368ff23df
@ -15,9 +15,19 @@ namespace App\PaymentDrivers\GoCardless;
|
||||
use App\Http\Requests\Request;
|
||||
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
||||
use App\PaymentDrivers\Common\MethodInterface;
|
||||
use App\PaymentDrivers\GoCardlessPaymentDriver;
|
||||
|
||||
class DirectDebit 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) { }
|
||||
|
Loading…
Reference in New Issue
Block a user