summaryrefslogtreecommitdiff
path: root/FS/FS/agent.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-06-15 16:52:39 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-06-15 16:52:39 -0400
commit618f8725c360f29941b9d1720eb01fea85403185 (patch)
tree8392eb910d1ab5280afc2514d4f82ee725400f82 /FS/FS/agent.pm
parent360f89789c45e1fd7cb84b1442d2f0c8353066d9 (diff)
RT# 80175 - fixed error with ACH gateway not being selected.
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 8107093..e1d9ccf 100644
--- a/FS/FS/agent.pm
+++ b/FS/FS/agent.pm
@@ -294,7 +294,7 @@ sub payment_gateway {
}
}
- my $cardtype_search = "AND cardtype != 'ACH'";
+ my $cardtype_search = "AND ( cardtype IS NULL OR cardtype <> 'ACH')";
$cardtype_search = "AND cardtype = 'ACH'" if $options{method} eq 'ECHECK';
my $override =