X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpayment_gateway.html;h=0cd93e4a5be3f2187fc8e6e4781d05bde2ca6c19;hb=611b71ea70ac43bb52bf6d6b7e23a40694e430df;hp=7cfab71d877d684d756ef999c98d5cc26127e0c9;hpb=22336a0eeba10b4d1a4a78801f83f7cef56a1a20;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; } } };