summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-05 17:26:06 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-05 19:07:54 -0500
commitdc2377e46bde3bebcf352d5bc6dd09ff9a155523 (patch)
tree27137cc79e04762319328196fc161d731ca135d9
parent118cae3df154e6c7e4bbbbc03efd518c9ef06646 (diff)
RT#42373: Add ACH support to B::OP::ElavonVirtualMerchant [passing company from Billing_Realtime]
-rw-r--r--FS/FS/cust_main/Billing_Realtime.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm
index 54c7c5d32..cf4b16e59 100644
--- a/FS/FS/cust_main/Billing_Realtime.pm
+++ b/FS/FS/cust_main/Billing_Realtime.pm
@@ -556,6 +556,8 @@ sub realtime_bop {
? uc($options{'paytype'})
: uc($self->getfield('paytype')) || 'PERSONAL CHECKING';
+ $content{company} = $self->company if $self->company;
+
if ( $content{account_type} =~ /BUSINESS/i && $self->company ) {
$content{account_name} = $self->company;
} else {