summaryrefslogtreecommitdiff
path: root/FS/FS/agent_payment_gateway.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-08 11:59:51 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-08 12:05:07 -0500
commit99a89d5e688a70208b961ff190c9d04747a0c0e0 (patch)
treebe48f5d84a6a81b09e4db6624613e5af14af38e7 /FS/FS/agent_payment_gateway.pm
parent483d7437c538aa548a8cd6ce2d9dc357c47322ba (diff)
Revert "RT# - updated payment gateway override to not drop ACH overrides on upgrade"
This reverts commit 8ea0bfff9308f4c13d170c45cbac6ba7a8a9e488.
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 16979d8..6a7cc06 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 "Non ACH (E-check) Agent cardtype override no longer supported"
+ die "Agent cardtype override no longer supported"
if qsearch({
'table' => 'agent_payment_gateway',
- 'extra_sql' => ' WHERE cardtype IS NOT NULL AND cardtype != \'\' AND cardtype != \'ACH\'',
+ 'extra_sql' => ' WHERE cardtype IS NOT NULL AND cardtype != \'\'',
});
return '';
}