X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2FStatus.html;h=e08bfe44b164472bf7e4b4470203c5264d50762b;hb=d0b9bf2f18ea8c5b6a4267f7498df954bfaeafde;hp=6c7361766a8232503624ac35aa171fcc9592049c;hpb=8472a13849d11fb45721a4136df2cdc9f6514f5e;p=freeside.git diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html index 6c7361766..e08bfe44b 100644 --- a/httemplate/view/Status.html +++ b/httemplate/view/Status.html @@ -227,8 +227,9 @@ foreach my $agent ( 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, }) ) { - my $gateway = $agent->payment_gateway('method'=>'VISA card'); - next unless $gateway->gateway_namespace eq 'Business::OnlinePayment'; + my $gateway = $agent->payment_gateway('method'=>'VISA card', 'nofatal'=>1, ); + next unless $gateway + && $gateway->gateway_namespace eq 'Business::OnlinePayment'; eval "use Business::OnlinePayment"; die $@ if $@; #die? my $bop = new Business::OnlinePayment( $gateway->gateway_module,