This article covers
Can I reactivate a canceled subscription using the create_checkout_to_update_a _subscription API call?
Summary
This article deals with the usage of hosted page checkout API to reactivate a canceled subscription. This usage is subject to different use cases and it is explained in the solution below.
This is the link for the "create_checkout_to_update_a_subscription" API.
Solution
1. If you are looking to reactivate the subscription for the same plan price point for the customer, then it is recommended to use this "create_checkout_to_update_a_subscription" API call which will generate a hosted page to reactivate the subscription. In this case, it will be necessary to pass the “reactivate” parameter as “true” in that API call mandatorily and this will help in reactivating the subscription for the same plan ID via the checkout process.
2. If you are looking to reactivate the subscription with a different plan price point for the customer, then the "create_checkout_to_update_a_subscription" API call should help you to carry out the checkout process successfully and reactivate the subscription.
*The new subscription will be aligned to the previous subscription’s billing cycle, if the reactivation is initiated within the billing term, else it will be created with a new billing term.*
Please note that, for both of the above cases, enter the correct subscription ID and Plan price point ID to accomplish the desired result.
Related articles
How can I reactivate a subscription using APIs?