Get selected shipping address from setup-token endpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working on an integration for PayPal using the instructions here: https://developer.paypal.com/docs/checkout/save-payment-methods/purchase-later/paypal/
We need to be able to save the PayPal wallet to be charged at a later date. I want a customer to be able to select their shipping address so for step 2 from the instructions above, I'm not passing any shipping address and I'm passing GET_FROM_FILE for shipping_preference. When I go to the generated approval link, I can select a shipping address, however I'm not sure how to get the shipping address the customer selected using the API. I've tried retrieving the setup token after getting an approval id using the endpoint here: https://developer.paypal.com/docs/api/payment-tokens/v3/#setup-tokens_get
But I don't get the shipping address the customer selected.
Anyone know a way to get that?
Thanks!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Express Checkout with Bigcommerce in PayPal Payments Standard
- How do I update shipping in the popup when using onShippingAddressChange() in REST APIs
- does api-m.sandbox.paypal.com or the real api endpoint support IPv6? in REST APIs
- IPN works in sandbox but not live in Sandbox Environment
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard