#yeah_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1286652941566218312
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
My question is: will the user be charged on August 16th?
It would depend really
When you say 'user cancels the subscription on August 15th', is that to cancel immediately or at the end of the period (August 31st)?
I actually want the user to cancel on August 31st, but I’m not sure if the user has an option to cancel on August 15th. Do you know how subscriptions in the Apple Store work? Users can cancel in advance in the "My Subscriptions" section.
You can cancel a Stripe subscription:
- Immediately
- At a specific date
- At the end of the current period (i.e. August 31st in your example)
It's configurable and depends on your preference really
Got it. So if the user cancels on August 15th (which I think should be called a pause since the subscription doesn’t actually expire until September 1st), and then resubscribes on August 16th, will the user be charged immediately on August 16th or on September 1st after resubscribing?
will the user be charged immediately on August 16th
By default they would be charged immediately yes. But you can overcome that by using a trial period to give a 'free' period until the other sub cancels at end of period
Out of interest though, why not just 'resume' the current subscription set to cancel and not create a new one?
Thank you! I definitely want to resume it. Could you please let me know which API I should use to check this?
Well, assuming you're setting cancel_at_period_end: true when the user clicks 'cancel', you'd just update the subscription to set that to false before it actually cancels (the cancels_at timestamp): https://docs.stripe.com/billing/subscriptions/cancel#cancel-at-the-end-of-the-current-billing-cycle
This allows the subscription to complete the duration of time the customer has already paid for. You can reactivate subscriptions scheduled for cancellation by updating cancel_at_period_end to false. You can reactivate the subscription at any time up to the end of the period.
Thank you! Let me confirm this. Please wait a moment.
hi! I'm taking over this thread. let me know if you have other questions!
You solved my problem, thank you.