- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am setting up a payment integration with PayPal Checkout Button and orders API v2, which I test in the sandbox environment.
When an order is completed, the API (/v2/checkout/orders) returns a valid order, but I do not completely receive the payer address.
Payer address look like this:
"payer": {
"name": {
"given_name": "Peter",
"surname": "<removed>"
},
"email_address": "<removed>",
"payer_id": "HEU6X43KU231",
"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.
I would like to use this information to send an invoice to the customer after payment.
As a workaround I could also ask for the information in the dialog in our part of the order process (in our GUI, before checkout), but as we use paypal plus to enable other payment methods it would be a very bad user experience to enter the same data twice.
Maybe it only occurs in the Sandbox environment and not in production? My Sandbox Accounts (which are configured for buying stuff in the sandbox) only do have a country Code and no other address information when I take a look at via my paypal dashboard/sandbox. Maybe that is the reason why the information is empty, but I could not identify where to add the address information in the sandbox account. In my opinion it is essential to be able to test this feature in the test environment / sandbox.
Do you have a clue how to fix this?
Thanks a lot in advance
Solved! Go to Solution.
- Labels:
-
API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing the merchant id for your sandbox account.
I've enabled the return of the buyer's billing address on this account as requested.
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MTS_Justin , it worked!.
Thank you!
Is there an email I can use to get in contact with someone who can enable it in production?
I tried the live chat and your colleague said this:
"Please call out specialists in Product and Site Support at your earliest convenience on <removed> for further assistance."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Justin,
can you also activate it for my account? The merchant id is 2ETEDRRXWQQ6S.
Thank you,
Patrick

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing the merchant id for your sandbox account.
I've enabled the return of the buyer's billing address for your account as requested.
Thanks !
Was my post helpful? If so, please give me a kudos!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great to hear it worked for you.
I don't have an email address that you could contact. Any changes to production accounts need to be addressed to our customer service team.
Thanks !
Was my post helpful? If so, please give me a kudos!

- « Previous page
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Enabled billing address for sandbox in Sandbox Environment
- subscription_id has disappeared in REST APIs
- I can't login in Sandbox mode (to link Reculry to Paypal) in Sandbox Environment