PayPal smart button switch to subscription / recurring donation

I’ve managed to get the PayPal smart button working, but would like to know if it’s possible to switch the payment button to a subscription programmatically after it’s been rendered? And what the best …

How do I get the subscription status of a user in PayPal subscription API

I want to get whether the subscription is cancelled or not by the user in a certain period of time and if the subscription is cancelled I will block user from using some of the features how do I get …