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:16:37 -0400
commit7b52b31205b01810da69c7e64cf8ad3806988757 (patch)
tree7a42bb0f7fd1d7ccb929e591cb77b8c6b741f6fb /FS/FS/agent.pm
parent7bf6dafb0da4a525388a6f145dd0a904eddcec14 (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({