#nstripe0_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/1331742635043590208
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, as the error suggested the maximum number of trial period days is 2 years. I recommend that you test setting the trial and passing the billing cycle anchor
Hi, yes I tried that as well.
Passing the billing cycle anchor and trial end in the same Subscription Update.
Request ID: req_E4pfSbAlC9Ll4T
Got the same results.
So that won't work. What is your end goal here? What are you really trying to achieve?
I want to setup a Stripe Subscription for customers who have pre-paid > 2 years in advance.
Such that at the end of that period, Stripe will start billing them automatically.
I see, you could create a subscription with 2 years of free trial.. Then, update the subscription's trial before the two years are up.
You test use Test Clocks: https://docs.stripe.com/billing/testing/test-clocks to advance time. It is a helpful took to test things like these.
I see, so you're suggesting it likely needs to be another action to extend the subscription accordingly later on.