How to cancel Stripe subscription but allow use until end of period?

Hi Bubblers,

I have certain features that are only available in certain subscription plans. If a user downgrades or cancels their plan, how do I make sure the features are still available until the end of that billing period?

I tried to have a conditional like this: current date/time < current user’s Stripe Customer Subscription’s Current Period End Date, but whenever the user cancels the subscription, that field is just empty in the bubble Database. This conditional only works when a user changes their plans to another tier.

Your assistance is greatly appreciated :slight_smile:

Isn’t it funny when you post a question and immediately find the answer right after? :sweat_smile:

Well for anyone in the future that needs a solution, all you have to do is log in to your Stripe, go to your customer portal, and change cancellation settings to end of billing period instead of cancelling immediately.

Cheers

4 Likes