#zach_unexpected

1 messages ¡ Page 1 of 1 (latest)

hushed lichenBOT
#

👋 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/1396842742629535877

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

kindred laurel
#

req_bLUhITdMTwWuDp

scarlet moat
kindred laurel
#

not sure what u mean by paid trial

#

i do not have a trial on this subscription

#

this is a brand new customer i setup and linked to an existing meter and price

scarlet moat
#

I just looked at the shape of the error message, let me look further

kindred laurel
#

thx

scarlet moat
#

It looks like you're using an older API version, we document that https://docs.stripe.com/billing/subscriptions/billing-mode?dashboard-or-api=dashboard#migrate-existing-subscriptions-to-flexible-billing-mode 'To use flexible billing mode, your integration must be on Stripe API version 2025-06-30.basil or later. '

The request that failed is using: https://dashboard.stripe.com/logs/req_bLUhITdMTwWuDp
2025-04-30.basil

The requests you've made are using the Dashboard. Can you try them via the API please?

kindred laurel
#

The dashboard you have to update API version on as well?

#

I always assumed dashboard is latest version and that the API is controllable

#

or are they one and the same?

scarlet moat
#

Unless you updated it, no

kindred laurel
#

so if i upgrade here, this will upgrade dashboard?

#

and i can still send requests like i currently do via api after the upgrade of the dashboard? (using 2024-09-30)

scarlet moat
#

Not via the Dashboard if you upgrade the version

kindred laurel
#

this is a brand new customer

#

they dont have a payment method

kindred laurel
#

i can still use my api calls as normal (no integration impact)

#

because i can choose the version to call there

scarlet moat
kindred laurel
#

I dont want to create a new subscription though

#

i want to migrate

#

which your documentation says is possible

#

why are you pointing me towards a new subscription instead?

#

i upgraded API versions

#

I used the dashboard

#

I still see the old api version

#

req_RNnLYq1qiVMpzC

#

and i get the same error

scarlet moat
#

The migration means that you already have a subscription

#

You're creating a brand new subscription and then trying to migrate

kindred laurel
#

why would it matter if the subscription is > 1 minute old?

#

its the same as my other subscriptions

scarlet moat
#

since these are new subscriptions

#

You can migrate existing subscriptions with the migrate flow

#

If you add a payment method, that would work

kindred laurel
#

this seems very not clear at all, do you see that?

#

i dont see anything on the documentation saying migration flow will not work on subscriptions which have been recently created, or dont have a payment method?

#

i am also confused why i have now upgraded api versions

#

but when i do the action from the dashboard it still logs the old api version

scarlet moat
#

I can share your feedback here to call that out

kindred laurel
#

can you explain the api version issue?

scarlet moat
#

Can you log out and log back in?

kindred laurel
#

is there a setting i am missing?

scarlet moat
#

Then, make the request again?

kindred laurel
#

ok

scarlet moat
#

I do not think so

#

We do not have expertise with the Dashboard as we help with your code/ integration in this channel so I'm trying some simple debugging

kindred laurel
#

same thing

#

req_qYKaQMVqh00u6G

#

this still says

#

2025-04-30.basil

scarlet moat
#

How are you making that request? I see that request is not using your account's default API version.

kindred laurel
#

from the dashboard

#

i edited subscriptiion

#

and i changed from classic to flexible billing

scarlet moat
#

Can you edit the description/ metadata on that subscription and then share the request?

#

Ok, I see the same behavior on my end. Let me confirm with a teammate, hang tight

hushed lichenBOT
scarlet moat
#

I suspect the reason being that we're making an internal note after you indicate that you're updating the subscription for this migration. I see that the document stated a different API version, and I can flag this delta to the team

kindred laurel
#

ok

#

so does that mean that the request is being made with the correct version and your logging just says a different?

scarlet moat
#

If you make other requests using the Dashboard, that is correct. Yes, I'm flagging this internally.

kindred laurel
#

ok so there is nothing for me to do

scarlet moat
#

That is correct

kindred laurel
#

great, thanks then

#

i will try updating some of our older subscriptions

#

to flexible billing

scarlet moat
#

Sorry, I was wrong about the API versions here on the Dashboard. Dashboard will always use the version that is one behind the latest API version. For this reason, it is working as expected in terms of the API version. I tested a few times and my initial test was wrong. I was moving too fast, I'm sorry.

kindred laurel
#

if the dashboard is running 1 api version behind though, then what happens when u call new functionality

scarlet moat
#

It sould just work as Stripe will make that call internally to handle that

kindred laurel
#

Ok

scarlet moat
#

Sorry for the confusion here with the API version.