PayPal Smart Subscribe server side

I’m not aware of a demo sample, but the createSubscription portion can be be done via this API call: https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_create For subscriptions, by default the subscription will be activated automatically on approval, before onApprove is called. You can set the application_context -> user_action to something other than SUBSCRIBE_NOW if you want to show a review … Read more

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

In the Classic API there was a flag for NOSHIPPING you could include in your request that would disable shipping address requirements during checkout. I know it’s in REST somewhere, but I’m struggling to find it in the reference right now. Instead of “authorize” you should use “sale” for the intent parameter. Not sure what … Read more