How do you know if a user has paid for a subscription

That tutorial uses a deprecated SDK that only works with the previous version of PayPal Subscriptions. Do not follow anything in that tutorial, it is no good. For the current version of PayPal Subscriptions, the button described there will activate the subscription on the client side. You can instead set up your button and use … Read more

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

tech