From: Christopher Burger Date: Mon, 18 Jun 2018 14:16:37 +0000 (-0400) Subject: RT# 80175 - changed gateway selection to select either ACH or NULL for echeck payments X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7b52b31205b01810da69c7e64cf8ad3806988757 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({