diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-01-08 10:24:01 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-01-08 11:35:22 -0500 |
| commit | 483d7437c538aa548a8cd6ce2d9dc357c47322ba (patch) | |
| tree | 0af7cd4c9d239c7d2fe97074a850c2619d7c04ad | |
| parent | 58d7653a1fbf24fc62d0b4a39bf61dc470f1ee04 (diff) | |
RT# - updated payment gateway override to not drop ACH overrides on upgrade
| -rw-r--r-- | FS/FS/agent_payment_gateway.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/agent_payment_gateway.pm b/FS/FS/agent_payment_gateway.pm index 6a7cc06d1..16979d859 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 ''; } |
