1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Add InstantBankPay to GoCardlessPaymentDriver

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

View File

@ -40,6 +40,7 @@ class GoCardlessPaymentDriver extends BaseDriver
GatewayType::BANK_TRANSFER => \App\PaymentDrivers\GoCardless\ACH::class,
GatewayType::DIRECT_DEBIT => \App\PaymentDrivers\GoCardless\DirectDebit::class,
GatewayType::SEPA => \App\PaymentDrivers\GoCardless\SEPA::class,
GatewayType::INSTANT_BANK_PAY => \App\PaymentDrivers\GoCardless\InstantBankPay::class,
];
const SYSTEM_LOG_TYPE = SystemLog::TYPE_GOCARDLESS;
@ -77,6 +78,8 @@ class GoCardlessPaymentDriver extends BaseDriver
$types[] = GatewayType::SEPA;
}
$types[] = GatewayType::INSTANT_BANK_PAY;
return $types;
}