[freeside-commits] branch FREESIDE_4_BRANCH updated. f8cd3faa87e53ba27697d7938db091d10399cd40

Christopher Burger burgerc at freeside.biz
Mon Jun 18 07:39:46 PDT 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  f8cd3faa87e53ba27697d7938db091d10399cd40 (commit)
      from  a6a98f6d0c3f67fb05905967fd801e463e8cd6ac (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 f8cd3faa87e53ba27697d7938db091d10399cd40
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