#aby_docs
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/1266410552599646289
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Just a little clarification, this use-case is when updating from monthly subscriptions to yearly subscriptions
Hi there ๐ how are you setting the trial period initially when creating the Subscription?
Switching from a monthly price to a yearly price does also cause the Subscription to be immediately moved to the next billing period.
And then that's why the free trial ends, right?
because it's a different billing period
I believe so, yes. Can you try passing in the trial_end parameter as part of your update request, with the desired ending timestamp of the trial period, to see if that preserves the trial period duration as you're hoping?
I will give that a try, sure.
Now, we are implementing the Stripe customer portal as well so our customers will be able to upgrade the plan themselves. I guess we cannot establish to keep the free trial as a behavior by default, right?
Correct, that is a current limitation of the Customer Portal, where modifying a trialing Subscription results in the trial period being ended:
https://docs.stripe.com/customer-management#:~:text=Customer modifications to a trialing subscription will end the free trial and create an invoice for immediate payment
I see, thank you very much for your clarifications
Any time!
I hope you have a great weekend. Take care!