1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on shipping address

This commit is contained in:
Hillel Coren 2017-11-20 17:02:39 +02:00
parent 461916a334
commit 3ae70383af

View File

@ -50,6 +50,10 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
$data = $response->getData();
$client = $this->client();
if (empty($data['SHIPTOSTREET'])) {
return;
}
$client->shipping_address1 = trim($data['SHIPTOSTREET']);
$client->shipping_address2 = '';
$client->shipping_city = trim($data['SHIPTOCITY']);