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:
parent
461916a334
commit
3ae70383af
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user