[freeside-commits] branch master updated. 7b52b31205b01810da69c7e64cf8ad3806988757

Christopher Burger burgerc at freeside.biz
Mon Jun 18 07:17:10 PDT 2018


The branch, master has been updated
       via  7b52b31205b01810da69c7e64cf8ad3806988757 (commit)
      from  7bf6dafb0da4a525388a6f145dd0a904eddcec14 (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 7b52b31205b01810da69c7e64cf8ad3806988757
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Mon Jun 18 10:16:37 2018 -0400

    RT# 80175 - changed gateway selection to select either ACH or NULL for echeck payments

diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm
index e1d9ccf1d..8aff96a8d 100644
--- a/FS/FS/agent.pm
+++ b/FS/FS/agent.pm
@@ -295,7 +295,7 @@ sub payment_gateway {
   }
 
   my $cardtype_search = "AND ( cardtype IS NULL OR cardtype <> 'ACH')";
-  $cardtype_search = "AND cardtype = 'ACH'" if $options{method} eq 'ECHECK';
+  $cardtype_search = "AND ( cardtype IS NULL OR cardtype = 'ACH' )" if $options{method} eq 'ECHECK';
 
   my $override =
       qsearchs({

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

Summary of changes:
 FS/FS/agent.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list