diff --git a/app/Models/PaymentType.php b/app/Models/PaymentType.php index b6b28cd4c8f1..37723d0a01f3 100644 --- a/app/Models/PaymentType.php +++ b/app/Models/PaymentType.php @@ -42,6 +42,7 @@ class PaymentType extends StaticModel const SEPA = 29; const GOCARDLESS = 30; const CRYPTO = 31; + const MOLLIE_BANK_TRANSFER = 34; public static function parseCardType($cardName) { diff --git a/database/migrations/2021_09_24_201319_add_mollie_bank_transfer_to_payment_types.php b/database/migrations/2021_09_24_201319_add_mollie_bank_transfer_to_payment_types.php new file mode 100644 index 000000000000..0f00a831f77a --- /dev/null +++ b/database/migrations/2021_09_24_201319_add_mollie_bank_transfer_to_payment_types.php @@ -0,0 +1,24 @@ +id = 34; + $type->name = 'Mollie Bank Transfer'; + $type->gateway_type_id = GatewayType::BANK_TRANSFER; + + $type->save(); + } +}