summaryrefslogtreecommitdiff
path: root/FS/FS/agent_payment_gateway.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-08 12:03:00 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-08 12:14:38 -0500
commit8d92a5062e720da98dfe28cd0f0e10e308fc65dd (patch)
tree23292370866d3733c962b4654babe4efcbeb80c1 /FS/FS/agent_payment_gateway.pm
parent12c812ae620de69d30d6416312eee3b5bf59f780 (diff)
RT# 80175 - updated payment gateway override to not drop ACH overrides on upgrade
Diffstat (limited to 'FS/FS/agent_payment_gateway.pm')
-rw-r--r--FS/FS/agent_payment_gateway.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/agent_payment_gateway.pm b/FS/FS/agent_payment_gateway.pm
index 6a7cc06..16979d8 100644
--- a/FS/FS/agent_payment_gateway.pm
+++ b/FS/FS/agent_payment_gateway.pm
@@ -119,10 +119,10 @@ sub _upgrade_data {
'table' => 'agent_payment_gateway',
'extra_sql' => ' WHERE taxclass IS NOT NULL AND taxclass != \'\'',
});
- die "Agent cardtype override no longer supported"
+ die "Non ACH (E-check) Agent cardtype override no longer supported"
if qsearch({
'table' => 'agent_payment_gateway',
- 'extra_sql' => ' WHERE cardtype IS NOT NULL AND cardtype != \'\'',
+ 'extra_sql' => ' WHERE cardtype IS NOT NULL AND cardtype != \'\' AND cardtype != \'ACH\'',
});
return '';
}