My users can subscribe to a monthly or yearly plan in stripe. When they subscribe to my plan, they can set the flag, that they want to cancel it at the period end (so after 1 month or after 1 year).
Now three (or an variable amount) of days before the subscription is cancelled the customer should receive an email stating, that their subscription will be cancelled and they should remove the flag, so they can still benefit from the plan.
Something like this is integrated for trials with the customer.subscription.trial_will_end
webhook. But I didn't find any for subscriptions.
So how would you guys suggest to solve this problem? Or is there a webhook I didn't find?
subscription_schedule.expiring
- "Occurs 7 days before a subscription schedule will expire." – Sergio Tulentsev