summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main/Billing_Batch.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-15 11:29:50 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-15 11:29:50 -0400
commit38f5c59a6a3b92881c0f60bc8dccc9acd0feef41 (patch)
tree42ba5cacaead27b0bf05fadaa0fc5a664c79d9dd /FS/FS/cust_main/Billing_Batch.pm
parentbb201b08e3f48784cd77979dd4e31e866aa4f15d (diff)
RT# 83044 - fixed cc refund issues
Diffstat (limited to 'FS/FS/cust_main/Billing_Batch.pm')
-rw-r--r--FS/FS/cust_main/Billing_Batch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing_Batch.pm b/FS/FS/cust_main/Billing_Batch.pm
index c1bb35f..c8292cd 100644
--- a/FS/FS/cust_main/Billing_Batch.pm
+++ b/FS/FS/cust_main/Billing_Batch.pm
@@ -151,7 +151,7 @@ sub batch_card {
),
'exp' => $options{paydate} || $cust_payby->paydate,
'payname' => $options{payname} || $cust_payby->payname,
- 'paytype' => $options{paytype} || $cust_payby->paytype,
+ 'paytype' => $options{paytype} || $cust_payby->{'Hash'}->{'paytype'},
'amount' => $amount, # consolidating
'paycode' => $options{paycode} || '',
} );