projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 74666 - updated some UI and description field location.
[freeside.git]
/
httemplate
/
edit
/
payment_gateway.html
diff --git
a/httemplate/edit/payment_gateway.html
b/httemplate/edit/payment_gateway.html
index
7cfab71
..
b28be23
100644
(file)
--- a/
httemplate/edit/payment_gateway.html
+++ b/
httemplate/edit/payment_gateway.html
@@
-47,27
+47,36
@@
my %modules = (
'AuthorizeNet',
'BankOfAmerica', #deprecated?
'Beanstream',
'AuthorizeNet',
'BankOfAmerica', #deprecated?
'Beanstream',
+ 'Braintree',
'Capstone',
'Capstone',
+ 'CardFortress',
'Cardstream',
'CashCow',
'CyberSource',
'eSec',
'eSelectPlus',
'ElavonVirtualMerchant',
'Cardstream',
'CashCow',
'CyberSource',
'eSec',
'eSelectPlus',
'ElavonVirtualMerchant',
+ 'eWay',
'Exact',
'Exact',
+ 'FirstDataGlobalGateway',
+ 'GlobalPayments',
'iAuthorizer',
'Ingotz',
'InternetSecure',
'iAuthorizer',
'Ingotz',
'InternetSecure',
- 'IPaymentTPG',
+
#
'IPaymentTPG',
'IPPay',
'Iridium',
'Jettis',
'Jety',
'LinkPoint',
'IPPay',
'Iridium',
'Jettis',
'Jety',
'LinkPoint',
+ 'Litle',
'MerchantCommerce',
'Network1Financial',
'MerchantCommerce',
'Network1Financial',
+ 'NMI',
'OCV',
'OCV',
+ 'Ogone',
'OpenECHO',
'OpenECHO',
+ 'PaperlessTrans',
'PayConnect',
'PayflowPro',
'PaymenTech',
'PayConnect',
'PayflowPro',
'PaymenTech',
@@
-83,23
+92,30
@@
my %modules = (
'Skipjack',
'StGeorge',
'SurePay',
'Skipjack',
'StGeorge',
'SurePay',
+ 'SynapseGateway',
'TCLink',
'TransactionCentral',
'TransFirsteLink',
'TCLink',
'TransactionCentral',
'TransFirsteLink',
+ 'USAePay',
'Vanco',
'viaKLIX',
'VirtualNet',
'Vanco',
'viaKLIX',
'VirtualNet',
+ 'vSecureProcessing',
'WesternACH',
'WorldPay',
],
'Business::OnlineThirdPartyPayment' => [
'WesternACH',
'WorldPay',
],
'Business::OnlineThirdPartyPayment' => [
- 'eWayShared',
- 'Interswitchng',
+ #'eWayShared', support currently broken
+ 'FCMB',
+ #'Interswitchng', #incomplete?
'PayPal',
],
'Business::BatchPayment' => [
'PayPal',
],
'Business::BatchPayment' => [
+ 'BillBuddy',
+ 'CardFortress',
'KeyBank',
'Paymentech',
'KeyBank',
'Paymentech',
+ 'RBC',
'TD_EFT',
],
);
'TD_EFT',
],
);
@@
-110,8
+126,7
@@
my @actions = (
'Authorization Only,Post Authorization',
);
'Authorization Only,Post Authorization',
);
-my $fields = [
- {
+my $fields = [ {
field => 'gateway_namespace',
type => 'select',
options => [ qw(
field => 'gateway_namespace',
type => 'select',
options => [ qw(
@@
-130,7
+145,7
@@
my $fields = [
field => 'gateway_module',
type => 'select',
# does it even make sense to list all modules here?
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',
map { @$_ } values %modules ],
},
'gateway_username',
@@
-164,8
+179,11
@@
my $fields = [
my $field_callback = sub {
my ($cgi, $object, $field_hashref ) = @_;
if ($object->gatewaynum) {
my $field_callback = sub {
my ($cgi, $object, $field_hashref ) = @_;
if ($object->gatewaynum) {
- if ( $field_hashref->{field} =~ /gateway_(module|namespace)/ ) {
+ if ( $field_hashref->{field} eq 'gateway_module' ) {
+ $field_hashref->{type} = 'fixed';
+ } elsif ( $field_hashref->{field} eq 'gateway_namespace' ) {
$field_hashref->{type} = 'fixed';
$field_hashref->{type} = 'fixed';
+ $field_hashref->{formatted_value} = $object->namespace_description;
}
}
};
}
}
};