payer address

danyban
Contributor
Contributor

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.

Login to Me Too
1 REPLY 1

matthewperosi
Contributor
Contributor

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.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.