#ley_checkout-deferred-subscription
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/1399377910154137712
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ley_api, 1 hour ago, 4 messages
Hi, from the scenario, it seems like upgrading the price on an existing subscription might be a better solution: https://docs.stripe.com/api/subscriptions/update#update_subscription-proration_behavior. You can set proration behavior set to none so the entire amount gets billed on the update.
We document a bit more about it here: https://docs.stripe.com/billing/subscriptions/change-price
Thanks for the suggestion! However, this doesn't quite fit our use case.
The current subscription is already cancelled (has an end_date), so we can't update it. We need to create a new subscription that starts billing on the future end date of the cancelled one.
The key requirement is that the customer should pay on the future start date (not immediately when subscribing).
Any way to achieve deferred billing start with Checkout?
Even of the subscription has a cancellation date in the future, you should be able to update the subscription
When you say Checkout are you referring to Stripe Checkout Sessions?
Regarding updating the cancelled subscription:
I understand it's technically possible, but there's a business logic issue.
Current flow:
Customer cancels Plan A โ sets end_date, stops auto-renewal
Customer wants Plan B โ should start when Plan A ends
Problem with updating cancelled subscription:
-
Plan A is cancelled because customer wanted to stop it
-
Plan B is a different plan/features the customer specifically chose
Updating Plan A to Plan B feels like changing the customer's cancellation decision
Business requirement: Create a separate Plan B subscription that starts billing on Plan A's end date.
Is there a way to schedule a new subscription's billing start date in Checkout Sessions without "free trial" messaging or proration ?
Yes, I'm referring to Stripe Checkout Sessions.
I see. As you noted, you could use a free trial: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data when you create the subscription. You could pass: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-billing_cycle_anchor
Can you try this please?
Hi there ๐ I'm jumping in as my teammate needs to step away soon. It is not possible to use Checkout Sessions to create deferred Subscriptions. You will either want to create the Subscription object directly at the desired time, or use a Subscription Schedule to schedule the creation of a Subscription to happen in the future:
https://docs.stripe.com/billing/subscriptions/subscription-schedules#start-subscription-future
If you want to use a Checkout Session to collect payment method details from your customer, then you can use a Checkout Session with a mode of setup for that. But let me know if that gives you any trouble during testing!
ley_checkout-deferred-subscription
Perfect! Thank you so much! ๐
The Subscription Schedule approach is exactly what I needed. Using Checkout Sessions in setup mode to collect payment details, then creating a Subscription Schedule to start billing on the future date is the ideal solution.
Thanks for the excellent support and for pointing me to the right Stripe feature! This is much cleaner than the workarounds I was considering.
Appreciate the help! ๐๐๐