Add gatewayTypes method to GoCardless
This commit is contained in:
parent
7e922cbc2a
commit
5112349306
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue