#valdir_code
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/1394472706023620650
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Can I confirm you are referring to setting an updated billing cycle anchor?
yes
There are 2 ways you can change that. One is using trial [0] and the other is using the subscription schedule [1]. Have you attempted either?
[1] https://docs.stripe.com/billing/subscriptions/billing-cycle#add-a-trial-to-change-the-billing-cycle
[2] https://docs.stripe.com/billing/subscriptions/subscription-schedules#resetting-anchor
there is a way to change the billing cycle after creating the subscription ?
Yeap, the links above tell you how to do it.
nice
i am receiving this error
"Cannot access 'subscription' before initialization"
i am trying to add a trial period
after create the subscription
Can I get the subscription ID?
sub_1RkxUIHLvFhBFaV7fN3vQeOx
i am testing this way
i set up a static value, but i will a value dynamic
could be related to api version?
i am using the old one
no, i am using the stripe sdk nodejs
But I am not seeing any attempts to update the subscription with a trial. You will need to make the API call for that. Have you made the call yet?
could be the version of my package? i am using "stripe": "^13.5.0",
I don't think so. But have you made the API call yet? Or where are you seeing the error?
i am using nodejs package
not api
i will try using the APi
i did exactly this way
i followed the docs
Where are you seeing the error?