mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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\Utils\Traits\MakesHash;
|
||||
|
||||
|
||||
class GoCardlessPaymentDriver extends BaseDriver
|
||||
{
|
||||
use MakesHash;
|
||||
@ -47,6 +48,13 @@ class GoCardlessPaymentDriver extends BaseDriver
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function gatewayTypes(): array
|
||||
{
|
||||
return [
|
||||
GatewayType::BANK_TRANSFER,
|
||||
];
|
||||
}
|
||||
|
||||
public function authorizeView(array $data)
|
||||
{
|
||||
return $this->payment_method->authorizeView($data);
|
||||
|
Loading…
Reference in New Issue
Block a user