X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpayment_gateway.html;h=0cd93e4a5be3f2187fc8e6e4781d05bde2ca6c19;hb=df1ebf662a9fc3f89503036e0dbf6833c1b95f9e;hp=7cfab71d877d684d756ef999c98d5cc26127e0c9;hpb=63973c641c4be00765fa27e55c57cc5b9aa4da19;p=freeside.git diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html index 7cfab71d8..0cd93e4a5 100644 --- a/httemplate/edit/payment_gateway.html +++ b/httemplate/edit/payment_gateway.html @@ -93,9 +93,10 @@ my %modules = ( 'WorldPay', ], 'Business::OnlineThirdPartyPayment' => [ - 'eWayShared', - 'Interswitchng', + #'eWayShared', support currently broken + #'Interswitchng', 'PayPal', + 'FCMB', ], 'Business::BatchPayment' => [ 'KeyBank', @@ -110,8 +111,7 @@ my @actions = ( 'Authorization Only,Post Authorization', ); -my $fields = [ - { +my $fields = [ { 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) { - 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->{formatted_value} = $object->namespace_description; } } };