die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-my $json = JSON::XS->new;
+my $json = Cpanel::JSON::XS->new;
$json->canonical(1);
my %modules = (
'Business::OnlinePayment' => [
'AuthorizeNet',
'BankOfAmerica', #deprecated?
'Beanstream',
+ 'Braintree',
'Capstone',
+ 'CardFortress',
'Cardstream',
'CashCow',
'CyberSource',
'eSec',
'eSelectPlus',
'ElavonVirtualMerchant',
+ 'eWay',
'Exact',
'FirstDataGlobalGateway',
+ 'GlobalPayments',
'iAuthorizer',
'Ingotz',
'InternetSecure',
- 'IPaymentTPG',
+ #'IPaymentTPG',
'IPPay',
'Iridium',
'Jettis',
'Jety',
'LinkPoint',
+ 'Litle',
'MerchantCommerce',
'Network1Financial',
+ 'NMI',
'OCV',
+ 'Ogone',
'OpenECHO',
+ 'PaperlessTrans',
'PayConnect',
'PayflowPro',
'PaymenTech',
'Skipjack',
'StGeorge',
'SurePay',
+ 'SynapseGateway',
'TCLink',
'TransactionCentral',
'TransFirsteLink',
+ 'USAePay',
'Vanco',
'viaKLIX',
'VirtualNet',
+ 'vSecureProcessing',
'WesternACH',
'WorldPay',
],
'Business::OnlineThirdPartyPayment' => [
#'eWayShared', support currently broken
- #'Interswitchng',
- 'PayPal',
'FCMB',
+ #'Interswitchng', #incomplete?
+ 'PayPal',
],
'Business::BatchPayment' => [
+ 'BillBuddy',
+ 'CardFortress',
'KeyBank',
'Paymentech',
+ 'RBC',
'TD_EFT',
],
);
field => 'gateway_module',
type => 'select',
# does it even make sense to list all modules here?
- options => [ sort { lc($a) cmp lc ($b) }
+ options => [ sort { lc($a) cmp lc($b) }
map { @$_ } values %modules ],
},
'gateway_username',