diff options
author | Mark Wells <mark@freeside.biz> | 2016-07-14 23:32:19 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-07-15 16:59:18 -0700 |
commit | 666c35e4745dc6b5518f53267aadb3233f7cddb8 (patch) | |
tree | 87a75619f0467ee522f21ec891710e0a6094874e /FS/FS/cust_pay.pm | |
parent | 2b71735a07f9d122660da05f8d24d2af0ddd1f03 (diff) |
store credit card type in cust_payby and transaction records, #71291, schema support
Diffstat (limited to 'FS/FS/cust_pay.pm')
-rw-r--r-- | FS/FS/cust_pay.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 331a156..8e87745 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -97,6 +97,10 @@ Payment Type (See L<FS::payinfo_Mixin> for valid values) Payment Information (See L<FS::payinfo_Mixin> for data format) +=item cardtype + +Credit card type, if appropriate; autodetected. + =item paymask Masked payinfo (See L<FS::payinfo_Mixin> for how this works) @@ -1205,6 +1209,12 @@ sub _upgrade_data { #class method process_upgrade_paybatch(); } } + + ### + # set cardtype + ### + $class->upgrade_set_cardtype; + } sub process_upgrade_paybatch { |