diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-07-16 18:40:21 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-07-16 18:40:21 -0700 |
commit | 146c3b35ba82492af12700ea3dcec922a6ba05ae (patch) | |
tree | e8df8feb6d93cb28bcd9f2492506d6ebad954a80 /FS/FS/cust_main/Billing_Batch.pm | |
parent | b837d4cc6fb9424cb13b04a0ddabd079f5b4841b (diff) |
error on batch insert is returned to user, not fatal, RT#75998
Diffstat (limited to 'FS/FS/cust_main/Billing_Batch.pm')
-rw-r--r-- | FS/FS/cust_main/Billing_Batch.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Billing_Batch.pm b/FS/FS/cust_main/Billing_Batch.pm index 38d100ef6..74748ec33 100644 --- a/FS/FS/cust_main/Billing_Batch.pm +++ b/FS/FS/cust_main/Billing_Batch.pm @@ -138,6 +138,11 @@ sub batch_card { 'country' => $options{country} || $loc->country, 'payby' => $options{payby} || $cust_payby->payby, 'payinfo' => $options{payinfo} || $cust_payby->payinfo, + 'paymask' => ( $options{payinfo} + ? FS::payinfo_Mixin->mask_payinfo( $options{payby}, + $options{payinfo} ) + : $cust_payby->paymask + ), 'exp' => $options{paydate} || $cust_payby->paydate, 'payname' => $options{payname} || $cust_payby->payname, 'paytype' => $options{paytype} || $cust_payby->paytype, |