summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-03-18 15:21:35 -0700
committerIvan Kohler <ivan@freeside.biz>2017-03-18 15:21:35 -0700
commit52177b4dcb0139da78d6e4200eaa16ec6a6f159b (patch)
tree875bd8e97423f1edd871c02d968d1631b647efa8
parente4aedf6f919c1881c113885f8afb474bdfb861b3 (diff)
don't barf on status screen without a CC processor enabled
-rw-r--r--httemplate/view/Status.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 6c7361766..2d91b0b87 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -227,7 +227,7 @@ foreach my $agent (
'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,
})
) {
- my $gateway = $agent->payment_gateway('method'=>'VISA card');
+ my $gateway = $agent->payment_gateway('method'=>'VISA card', 'nofatal'=>1, );
next unless $gateway->gateway_namespace eq 'Business::OnlinePayment';
eval "use Business::OnlinePayment";
die $@ if $@; #die?