projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Northern 911 export, #29195
[freeside.git]
/
httemplate
/
edit
/
payment_gateway.html
diff --git
a/httemplate/edit/payment_gateway.html
b/httemplate/edit/payment_gateway.html
index
7cfab71
..
0cd93e4
100644
(file)
--- a/
httemplate/edit/payment_gateway.html
+++ b/
httemplate/edit/payment_gateway.html
@@
-93,9
+93,10
@@
my %modules = (
'WorldPay',
],
'Business::OnlineThirdPartyPayment' => [
'WorldPay',
],
'Business::OnlineThirdPartyPayment' => [
- 'eWayShared',
- 'Interswitchng',
+ #'eWayShared', support currently broken
+
#
'Interswitchng',
'PayPal',
'PayPal',
+ 'FCMB',
],
'Business::BatchPayment' => [
'KeyBank',
],
'Business::BatchPayment' => [
'KeyBank',
@@
-110,8
+111,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(
@@
-164,8
+164,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;
}
}
};
}
}
};