summaryrefslogtreecommitdiff
path: root/FS/FS/agent.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-06-18 10:16:37 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-06-18 10:18:49 -0400
commitf8cd3faa87e53ba27697d7938db091d10399cd40 (patch)
tree60d3bcdb80f9707af581d284d933441e61fc8a00 /FS/FS/agent.pm
parenta6a98f6d0c3f67fb05905967fd801e463e8cd6ac (diff)
RT# 80175 - changed gateway selection to select either ACH or NULL for echeck payments
Diffstat (limited to 'FS/FS/agent.pm')
-rw-r--r--FS/FS/agent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm
index e1d9ccf..8aff96a 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({