my $conf = new FS::Conf;
+ # to simplify tokenization upgrades
+ die "Conf selfservice-payment_gateway no longer supported"
+ if conf->config('selfservice-payment_gateway');
+
$conf->touch('payment_receipt')
if $conf->exists('payment_receipt_email')
|| $conf->config('payment_receipt_msgnum');
$conf->set('cust-fields',$cust_fields);
}
- #repurposed
- $conf->set('note-classes','Enabled')
- if $conf->exists('note-classes')
- and grep {$_ eq $conf->config('note-classes')} ('1','2');
- $conf->set('note-classes','')
- if $conf->exists('note-classes')
- and '0' eq $conf->config('note-classes');
-
enable_banned_pay_pad() unless length($conf->config('banned_pay-pad'));
# if translate-auto-insert is enabled for a locale, ensure that invoice
# reason / void_reason migration to reasonnum / void_reasonnum
'cust_credit_void' => [],
'cust_bill_void' => [],
+ # also fix some tax allocation records
'cust_bill_pkg_void' => [],
#duplicate history records
'h_cust_svc' => [],
+ # need before transaction tables,
+ # blocks tokenization upgrade if deprecated features still in use
+ 'agent_payment_gateway' => [],
+
#populate cust_pay.otaker
'cust_pay' => [],