Need code to transfer "Company Name" into PAYPAL Ship to address

Need code to transfer “Company Name” into PAYPAL Ship to address??

What PayPal service do you use?

JUST “PAYPAL” under the Gateways category in Payments
or PayPal Express

We checked PayPal documentation for this type of integration and failed to find a specific field for the ship to company.

But you can try to replace value of the address2 with the company name. E.g. open the following file

/app/addons/paypal/payments/paypal.php

and replace

'address2' => $b_address_2,

with

'address2' => $order_info['company'],

(!) Not tested