#valdir_code

1 messages ¡ Page 1 of 1 (latest)

vivid zodiacBOT
#

👋 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.

hardy stag
#

Hi! Can I confirm you are referring to setting an updated billing cycle anchor?

sleek urchin
#

yes

hardy stag
sleek urchin
#

there is a way to change the billing cycle after creating the subscription ?

hardy stag
#

Yeap, the links above tell you how to do it.

sleek urchin
#

nice

#

i am receiving this error

#

"Cannot access 'subscription' before initialization"

#

i am trying to add a trial period

#

after create the subscription

hardy stag
#

Can I get the subscription ID?

sleek urchin
#

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

hardy stag
#

I am not seeing a request to update the subscription.

#

Have you made an API call?

sleek urchin
#

no, i am using the stripe sdk nodejs

hardy stag
#

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?

sleek urchin
#

could be the version of my package? i am using "stripe": "^13.5.0",

hardy stag
#

I don't think so. But have you made the API call yet? Or where are you seeing the error?

sleek urchin
#

i am using nodejs package

#

not api

#

i will try using the APi

#

i did exactly this way

#

i followed the docs

hardy stag
#

Where are you seeing the error?