mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
Add BankTransfer
to MolliePaymentDriver
This commit is contained in:
parent
72ef1cd133
commit
a68af4488e
@ -24,6 +24,7 @@ use App\Models\Payment;
|
|||||||
use App\Models\PaymentHash;
|
use App\Models\PaymentHash;
|
||||||
use App\Models\PaymentType;
|
use App\Models\PaymentType;
|
||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
|
use App\PaymentDrivers\Mollie\BankTransfer;
|
||||||
use App\PaymentDrivers\Mollie\CreditCard;
|
use App\PaymentDrivers\Mollie\CreditCard;
|
||||||
use App\Utils\Traits\MakesHash;
|
use App\Utils\Traits\MakesHash;
|
||||||
use Illuminate\Support\Facades\Validator;
|
use Illuminate\Support\Facades\Validator;
|
||||||
@ -64,6 +65,7 @@ class MolliePaymentDriver extends BaseDriver
|
|||||||
*/
|
*/
|
||||||
public static $methods = [
|
public static $methods = [
|
||||||
GatewayType::CREDIT_CARD => CreditCard::class,
|
GatewayType::CREDIT_CARD => CreditCard::class,
|
||||||
|
GatewayType::BANK_TRANSFER => BankTransfer::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
const SYSTEM_LOG_TYPE = SystemLog::TYPE_MOLLIE;
|
const SYSTEM_LOG_TYPE = SystemLog::TYPE_MOLLIE;
|
||||||
@ -84,6 +86,7 @@ class MolliePaymentDriver extends BaseDriver
|
|||||||
$types = [];
|
$types = [];
|
||||||
|
|
||||||
$types[] = GatewayType::CREDIT_CARD;
|
$types[] = GatewayType::CREDIT_CARD;
|
||||||
|
$types[] = GatewayType::BANK_TRANSFER;
|
||||||
|
|
||||||
return $types;
|
return $types;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user