[Solved] PayPal REST SDK: Remove shipping address and payment authorization so it does go to pending state [closed]


This document shows the use of the no_shipping field in button code:

https://developer.paypal.com/docs/checkout/how-to/customize-flow/#pass-experience-profile-options

To call the API directly, you have to create a web experience profile object containing this field (input_fields.no_shipping):

https://developer.paypal.com/docs/api/payment-experience/v1/#web-profiles_create

Then reference it in your /payment call (the experience_profile_id field)
https://developer.paypal.com/docs/api/payments/v1/#payment

1

solved PayPal REST SDK: Remove shipping address and payment authorization so it does go to pending state [closed]