payer address
danyban
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-17-2020
07:12 AM
how can we get the full address of the payer when using the actions.order.get() of the javascript sdk?
its only giving me the country, i thought should have the following
The address of the payer. Supports only the address_line_1, address_line_2, admin_area_1, admin_area_2, postal_code, and country_code properties. Also referred to as the billing address of the customer.
Labels:
- Labels:
-
REST SDK
1 REPLY 1
matthewperosi
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May-13-2020
04:06 PM
In my testing so far it seems that the payer address is not sent back to you during the initial order transaction, only the country_code is sent. You have to save the data.orderID then lookup that order in your next step/page. This is what I had to do.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- How do I update shipping in the popup when using onShippingAddressChange() in REST APIs
- Add Others data in SDKs
- Multiple locations to same email address result in one client only. in SDKs
- Change the button from Sandbox to Production in REST APIs
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment