4 %#<% $cgi->redirect(popurl(2). "browse/payment_gateway.html?showdiabled=$showdisabled") %>
5 <% $cgi->redirect(popurl(2). "browse/payment_gateway.html") %>
10 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
12 #my $showdisabled = 0;
13 #$cgi->param('showdisabled') =~ /^(\d+)$/ and $showdisabled = $1;
15 #$cgi->param('gatewaynum') =~ /^(\d+)$/ or die 'illegal gatewaynum';
16 my($query) = $cgi->keywords;
17 $query =~ /^(\d+)$/ or die 'illegal gatewaynum';
21 qsearchs('payment_gateway', { 'gatewaynum' => $gatewaynum } );
23 my $error = $payment_gateway->disable;