X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpayment_gateway.html;h=a85ba57af1d49248527a02f12d668fc422318898;hb=8eb6542c022ac84b125416f3fb0828b278ba600a;hp=7cfab71d877d684d756ef999c98d5cc26127e0c9;hpb=22336a0eeba10b4d1a4a78801f83f7cef56a1a20;p=freeside.git diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html index 7cfab71d8..a85ba57af 100644 --- a/httemplate/edit/payment_gateway.html +++ b/httemplate/edit/payment_gateway.html @@ -39,7 +39,7 @@ 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' => [ @@ -55,6 +55,7 @@ my %modules = ( 'eSelectPlus', 'ElavonVirtualMerchant', 'Exact', + 'FirstDataGlobalGateway', 'iAuthorizer', 'Ingotz', 'InternetSecure', @@ -93,14 +94,16 @@ my %modules = ( 'WorldPay', ], 'Business::OnlineThirdPartyPayment' => [ - 'eWayShared', - 'Interswitchng', + #'eWayShared', support currently broken + #'Interswitchng', 'PayPal', + 'FCMB', ], 'Business::BatchPayment' => [ 'KeyBank', 'Paymentech', 'TD_EFT', + 'BillBuddy', ], ); @@ -110,8 +113,7 @@ my @actions = ( 'Authorization Only,Post Authorization', ); -my $fields = [ - { +my $fields = [ { field => 'gateway_namespace', type => 'select', options => [ qw( @@ -164,8 +166,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; } } };