Missing Payer Address with Orders API V2
1a_salti
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-15-2022
04:25 AM
Hi,
I am setting up a payment integration with PayPal Checkout Button and orders API v2.
When an order is completed, the API (/v2/checkout/orders) returns a valid order, but I do not receive the complete payer address.
I got this:
{"name":{"given_name":"Max","surname":"xxxx"},"email_address":"xxxxx","payer_id":"xxxx","address":{"country_code":"DE"}}
but the https://developer.paypal.com/docs/api/orders/v2/#definition-payer says that the payer should also contain:
- address_line_1,
- address_line_2,
- admin_area_1,
- postal code
It's missing in production and sandbox.
How do i get the complete adress?
Thanks.
Labels:
- Labels:
-
PayPal HTML Buttons
0 REPLIES 0

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 to validate data existence on PayPal side in REST APIs
- Error payment in PayPal Payments Standard
- How can I display the bill number and customize it in the transaction record in REST APIs
- Suspect orders yet payment accepted without AVS in PayPal Payments Standard
- Inserting province/autonomous region by address when creating an order does not take effect in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)