Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Fix the address retrieval on the PayPal payload #112

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 25, 2017

PayPal does not always send a shipping address with the payload, often only a billing address is available (ie. Using the paypal test sandbox).

This fixes this by first trying to use the shippingAddress and if that is not available use the billingAddress instead.

PayPal does not always send a shipping address with the payload, often only a billing address is available (ie. Using the paypal test sandbox).

This fixes this by first trying to use the shippingAddress and if that is not available use the billingAddress instead.
@adammathys adammathys merged commit c1493eb into solidusio:master Oct 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants