projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
360f897
)
RT# 80175 - fixed error with ACH gateway not being selected.
author
Christopher Burger
<burgerc@freeside.biz>
Fri, 15 Jun 2018 20:52:39 +0000
(16:52 -0400)
committer
Christopher Burger
<burgerc@freeside.biz>
Fri, 15 Jun 2018 20:52:39 +0000
(16:52 -0400)
FS/FS/agent.pm
patch
|
blob
|
history
diff --git
a/FS/FS/agent.pm
b/FS/FS/agent.pm
index
8107093
..
e1d9ccf
100644
(file)
--- 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 =
$cardtype_search = "AND cardtype = 'ACH'" if $options{method} eq 'ECHECK';
my $override =