RT#42373: Add ACH support to B::OP::ElavonVirtualMerchant [passing company from Billi...
authorJonathan Prykop <jonathan@freeside.biz>
Thu, 5 May 2016 22:26:06 +0000 (17:26 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Fri, 6 May 2016 00:10:25 +0000 (19:10 -0500)
FS/FS/cust_main/Billing_Realtime.pm

index 6c0b655..2a9e869 100644 (file)
@@ -522,6 +522,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 {