[freeside-commits] branch FREESIDE_4_BRANCH updated. 3e50b720f8c35210b0e55864b3cd83d1595eeff6

Ivan ivan at 420.am
Sat Mar 18 15:21:38 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  3e50b720f8c35210b0e55864b3cd83d1595eeff6 (commit)
      from  c57dba79fe644a873e48d6507e69fe3dd7db65d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3e50b720f8c35210b0e55864b3cd83d1595eeff6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 18 15:21:37 2017 -0700

    don't barf on status screen without a CC processor enabled

diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 6c73617..2d91b0b 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?

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/Status.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list