Missing Payer Address with Orders API V2

1a_salti
Contributor
Contributor

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.

 

Login to Me Too
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.