diff --git a/app/Models/PaymentType.php b/app/Models/PaymentType.php index b6b28cd4c8f1..7ac7d3f1ecc2 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 KBC = 35; public static function parseCardType($cardName) { diff --git a/database/migrations/2021_09_24_211504_add_kbc_to_payment_types.php b/database/migrations/2021_09_24_211504_add_kbc_to_payment_types.php new file mode 100644 index 000000000000..9962e7802c4f --- /dev/null +++ b/database/migrations/2021_09_24_211504_add_kbc_to_payment_types.php @@ -0,0 +1,26 @@ +id = 35; + $type->name = 'KBC/CBC'; + $type->gateway_type_id = GatewayType::KBC; + + $type->save(); + } +}