mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add gatewayTypes
method to GoCardless
This commit is contained in:
parent
7e922cbc2a
commit
5112349306
@ -18,6 +18,7 @@ use App\Models\PaymentHash;
|
|||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
use App\Utils\Traits\MakesHash;
|
use App\Utils\Traits\MakesHash;
|
||||||
|
|
||||||
|
|
||||||
class GoCardlessPaymentDriver extends BaseDriver
|
class GoCardlessPaymentDriver extends BaseDriver
|
||||||
{
|
{
|
||||||
use MakesHash;
|
use MakesHash;
|
||||||
@ -47,6 +48,13 @@ class GoCardlessPaymentDriver extends BaseDriver
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function gatewayTypes(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
GatewayType::BANK_TRANSFER,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function authorizeView(array $data)
|
public function authorizeView(array $data)
|
||||||
{
|
{
|
||||||
return $this->payment_method->authorizeView($data);
|
return $this->payment_method->authorizeView($data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user