1

I want to retrieve the confirmed shipping address paypal has when a user pays through NVP.

Is there a way to do this? or do I always have to ask for their address ahead of time when processing the payment through the express-checkout?

Petrogad
  • 4,405
  • 5
  • 38
  • 77

1 Answers1

1

I'm assuming you're working with the Express Checkout API..?? If so, the GetExpressCheckoutDetails request is what would return the shipping address for the buyer.

Drew Angell
  • 25,968
  • 5
  • 32
  • 51
  • https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_GetExpressCheckoutDetails Current link; paypal seems to change their documentation frequently.. – Petrogad Aug 02 '13 at 13:22
  • Looks like everything for address is deprecated there; or am I missing something from it? – Petrogad Aug 02 '13 at 13:23
  • The deprecated parameters are the basic ones. For example, SHIPTONAME is no longer used. Instead, it's PAYMENTREQUEST_n_SHIPTONAME. This is because you can do parallel payments with Express Checkout now, so you could have multiple payments on a single transaction with different addresses for each. So the n will become 0, 1, 2, 3, etc. depending on how many payments/addresses were on the order. – Drew Angell Aug 02 '13 at 19:39
  • herp derp; sorry about that reading it the first time I thought the second line was just describing what the top line was. Got it all now :) Thank you!! – Petrogad Aug 02 '13 at 22:27