#iman
1 messages · Page 1 of 1 (latest)
No that's actually expected. Even if a subscription is cancelled, any outstanding unpaid invoices can still be paid. However, those have no impact on the subscription being restarted
Once a subscription is cancelled it can not be restarted
You'd need to create a new subscription entirely for that
Can I do something to prevent it from happening?
Yeah you'd need to void any open invoices once the subscription is cancelled
So you could listen to the customer.subscription.deleted webhook event to get notified of a subscription being cancelled. You could then list invoices that are open by that subscription id: https://stripe.com/docs/api/invoices/list. Then, call the above void endpoint to void them
Thank you very much ❤️