diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-10-23 17:12:58 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-10-23 17:12:58 -0700 |
| commit | c152a26f65c6b9254f9f6267b6be2234b61397c8 (patch) | |
| tree | 5459da4b18f30a90bb3fe2b0ccd9ef6109b90f5a | |
| parent | 2f4438896ca993e27b14d949e4195b2a173a3179 (diff) | |
fix upgrade: clear bad cust_refund.source_paynum before encrypting, RT#81508
| -rw-r--r-- | FS/FS/Upgrade.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 4e0e5c085..94a66b131 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -373,7 +373,7 @@ sub upgrade_data { tie my %hash, 'Tie::IxHash', #remap log levels - 'log' => [], + 'log' => [], #payby conditions to new ones 'part_event_condition' => [], @@ -388,6 +388,9 @@ sub upgrade_data { # blocks tokenization upgrade if deprecated features still in use 'agent_payment_gateway' => [], + #remove bad source_paynum before cust_main + 'cust_refund' => [], + #cust_main (tokenizes cards, remove paycvv from history, locations, cust_payby, etc) # (handles payinfo encryption/tokenization across all relevant tables) 'cust_main' => [], @@ -457,7 +460,7 @@ sub upgrade_data { 'cust_pkg' => [], #'cust_pkg_reason' => [], 'cust_pkg_discount' => [], - 'cust_refund' => [], + #'cust_refund' => [], 'banned_pay' => [], #paycardtype |
