Revert "RT# - updated payment gateway override to not drop ACH overrides on upgrade"
authorChristopher Burger <burgerc@freeside.biz>
Tue, 8 Jan 2019 16:59:51 +0000 (11:59 -0500)
committerChristopher Burger <burgerc@freeside.biz>
Tue, 8 Jan 2019 17:05:07 +0000 (12:05 -0500)
This reverts commit 8ea0bfff9308f4c13d170c45cbac6ba7a8a9e488.

FS/FS/agent_payment_gateway.pm

index 16979d8..6a7cc06 100644 (file)
@@ -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 '';
 }