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>2019-01-08 12:13:40 -0500
commit9dfe24203bc286421066de0f85313e129a7e5b86 (patch)
treebe48f5d84a6a81b09e4db6624613e5af14af38e7 /FS/FS/agent.pm
parent4ecafb8403a252d5a380c5feb07c93c7fe01b0c3 (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({