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>
Thu, 5 May 2016 22:26:06 +0000 (17:26 -0500)
FS/FS/cust_main/Billing_Realtime.pm

index 54c7c5d..cf4b16e 100644 (file)
@@ -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 {