mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Improve payment gateway sort order
This commit is contained in:
parent
12f490a24d
commit
de32753331
@ -15,34 +15,34 @@ class PaymentLibrariesSeeder extends Seeder
|
||||
Eloquent::unguard();
|
||||
|
||||
$gateways = [
|
||||
['name' => 'Authorize.Net AIM', 'provider' => 'AuthorizeNet_AIM', 'sort_order' => 3],
|
||||
['name' => 'Authorize.Net SIM', 'provider' => 'AuthorizeNet_SIM', 'payment_library_id' => 2],
|
||||
['name' => 'CardSave', 'provider' => 'CardSave'],
|
||||
['name' => 'Eway Rapid', 'provider' => 'Eway_RapidShared', 'is_offsite' => true],
|
||||
['name' => 'FirstData Connect', 'provider' => 'FirstData_Connect'],
|
||||
['name' => 'GoCardless', 'provider' => 'GoCardless', 'is_offsite' => true],
|
||||
['name' => 'Migs ThreeParty', 'provider' => 'Migs_ThreeParty'],
|
||||
['name' => 'Migs TwoParty', 'provider' => 'Migs_TwoParty'],
|
||||
['name' => 'Mollie', 'provider' => 'Mollie', 'is_offsite' => true, 'sort_order' => 6],
|
||||
['name' => 'MultiSafepay', 'provider' => 'MultiSafepay'],
|
||||
['name' => 'Netaxept', 'provider' => 'Netaxept'],
|
||||
['name' => 'NetBanx', 'provider' => 'NetBanx'],
|
||||
['name' => 'PayFast', 'provider' => 'PayFast', 'is_offsite' => true],
|
||||
['name' => 'Payflow Pro', 'provider' => 'Payflow_Pro'],
|
||||
['name' => 'PaymentExpress PxPay', 'provider' => 'PaymentExpress_PxPay'],
|
||||
['name' => 'PaymentExpress PxPost', 'provider' => 'PaymentExpress_PxPost'],
|
||||
['name' => 'PayPal Express', 'provider' => 'PayPal_Express', 'is_offsite' => true],
|
||||
['name' => 'PayPal Pro', 'provider' => 'PayPal_Pro'],
|
||||
['name' => 'Pin', 'provider' => 'Pin'],
|
||||
['name' => 'SagePay Direct', 'provider' => 'SagePay_Direct'],
|
||||
['name' => 'SagePay Server', 'provider' => 'SagePay_Server'],
|
||||
['name' => 'SecurePay DirectPost', 'provider' => 'SecurePay_DirectPost'],
|
||||
['name' => 'Stripe', 'provider' => 'Stripe', 'sort_order' => 1],
|
||||
['name' => 'TargetPay Direct eBanking', 'provider' => 'TargetPay_Directebanking'],
|
||||
['name' => 'TargetPay Ideal', 'provider' => 'TargetPay_Ideal'],
|
||||
['name' => 'TargetPay Mr Cash', 'provider' => 'TargetPay_Mrcash'],
|
||||
['name' => 'TwoCheckout', 'provider' => 'TwoCheckout', 'is_offsite' => true],
|
||||
['name' => 'WorldPay', 'provider' => 'WorldPay'],
|
||||
['name' => 'Authorize.Net AIM', 'provider' => 'AuthorizeNet_AIM', 'sort_order' => 4],
|
||||
['name' => 'Authorize.Net SIM', 'provider' => 'AuthorizeNet_SIM', 'payment_library_id' => 2],
|
||||
['name' => 'CardSave', 'provider' => 'CardSave'],
|
||||
['name' => 'Eway Rapid', 'provider' => 'Eway_RapidShared', 'is_offsite' => true],
|
||||
['name' => 'FirstData Connect', 'provider' => 'FirstData_Connect'],
|
||||
['name' => 'GoCardless', 'provider' => 'GoCardless', 'is_offsite' => true],
|
||||
['name' => 'Migs ThreeParty', 'provider' => 'Migs_ThreeParty'],
|
||||
['name' => 'Migs TwoParty', 'provider' => 'Migs_TwoParty'],
|
||||
['name' => 'Mollie', 'provider' => 'Mollie', 'is_offsite' => true, 'sort_order' => 7],
|
||||
['name' => 'MultiSafepay', 'provider' => 'MultiSafepay'],
|
||||
['name' => 'Netaxept', 'provider' => 'Netaxept'],
|
||||
['name' => 'NetBanx', 'provider' => 'NetBanx'],
|
||||
['name' => 'PayFast', 'provider' => 'PayFast', 'is_offsite' => true],
|
||||
['name' => 'Payflow Pro', 'provider' => 'Payflow_Pro'],
|
||||
['name' => 'PaymentExpress PxPay', 'provider' => 'PaymentExpress_PxPay'],
|
||||
['name' => 'PaymentExpress PxPost', 'provider' => 'PaymentExpress_PxPost'],
|
||||
['name' => 'PayPal Express', 'provider' => 'PayPal_Express', 'is_offsite' => true, 'sort_order' => 3],
|
||||
['name' => 'PayPal Pro', 'provider' => 'PayPal_Pro'],
|
||||
['name' => 'Pin', 'provider' => 'Pin'],
|
||||
['name' => 'SagePay Direct', 'provider' => 'SagePay_Direct'],
|
||||
['name' => 'SagePay Server', 'provider' => 'SagePay_Server'],
|
||||
['name' => 'SecurePay DirectPost', 'provider' => 'SecurePay_DirectPost'],
|
||||
['name' => 'Stripe', 'provider' => 'Stripe', 'sort_order' => 1],
|
||||
['name' => 'TargetPay Direct eBanking', 'provider' => 'TargetPay_Directebanking'],
|
||||
['name' => 'TargetPay Ideal', 'provider' => 'TargetPay_Ideal'],
|
||||
['name' => 'TargetPay Mr Cash', 'provider' => 'TargetPay_Mrcash'],
|
||||
['name' => 'TwoCheckout', 'provider' => 'TwoCheckout', 'is_offsite' => true],
|
||||
['name' => 'WorldPay', 'provider' => 'WorldPay'],
|
||||
['name' => 'BeanStream', 'provider' => 'BeanStream', 'payment_library_id' => 2],
|
||||
['name' => 'Psigate', 'provider' => 'Psigate', 'payment_library_id' => 2],
|
||||
['name' => 'moolah', 'provider' => 'AuthorizeNet_AIM'],
|
||||
@ -56,8 +56,8 @@ class PaymentLibrariesSeeder extends Seeder
|
||||
['name' => 'Realex', 'provider' => 'Realex_Remote'],
|
||||
['name' => 'Sisow', 'provider' => 'Sisow'],
|
||||
['name' => 'Skrill', 'provider' => 'Skrill'],
|
||||
['name' => 'BitPay', 'provider' => 'BitPay', 'is_offsite' => true, 'sort_order' => 5],
|
||||
['name' => 'Dwolla', 'provider' => 'Dwolla', 'is_offsite' => true, 'sort_order' => 4],
|
||||
['name' => 'BitPay', 'provider' => 'BitPay', 'is_offsite' => true, 'sort_order' => 6],
|
||||
['name' => 'Dwolla', 'provider' => 'Dwolla', 'is_offsite' => true, 'sort_order' => 5],
|
||||
['name' => 'AGMS', 'provider' => 'Agms'],
|
||||
['name' => 'Barclays', 'provider' => 'BarclaysEpdq\Essential'],
|
||||
['name' => 'Cardgate', 'provider' => 'Cardgate'],
|
||||
@ -76,7 +76,7 @@ class PaymentLibrariesSeeder extends Seeder
|
||||
['name' => 'WeChat Express', 'provider' => 'WeChat_Express'],
|
||||
['name' => 'WePay', 'provider' => 'WePay', 'is_offsite' => false],
|
||||
['name' => 'Braintree', 'provider' => 'Braintree', 'sort_order' => 2],
|
||||
['name' => 'Custom', 'provider' => 'Custom', 'is_offsite' => true, 'sort_order' => 7],
|
||||
['name' => 'Custom', 'provider' => 'Custom', 'is_offsite' => true, 'sort_order' => 8],
|
||||
];
|
||||
|
||||
foreach ($gateways as $gateway) {
|
||||
|
Loading…
Reference in New Issue
Block a user