#wsnookum_api

1 messages ¡ Page 1 of 1 (latest)

golden crestBOT
#

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

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

turbid saddle
loud grotto
#

req_aHPySXcZ5RiiO0

#

This is when it was updated.

#

req_yUXjpMbugnATzY -- this is the creation

#

it doesn't show that the request failed. but it doesn't update the plan for the subscription when the subscription is retrieved or even on the dashboard

turbid saddle
loud grotto
#

yes

turbid saddle
#

The change will have effect on the next invoice

#

because you set billing_cycle_anchor: unchanged and proration_behavior: "none",

#

In the dashboard you won't see any change (expect in the upcoming invoice)

#

But if you fetch the Subscirpton via the API you'll have the new plan updated.

loud grotto
#

it didn't take effect on the next invoice. it should show on the upcoming invoice and also when moving the test clock to the next billing cycle.

#

Also, for a subscription created using the subscription service, it reflects the updated plan right away for the subscription. For the subscription created using the subscription schedule service, it doesn't update the plan at all. This might be a bug on stripe?

turbid saddle
#

OK let's check this one by one. When you do a get by id on the Subscription sub_1RGcsSISm7ug71bbwGByPTZ4

#

Are you getting the new plan or not ?

#

Ah I see, after you advanced the time, from 2025-07-15 09:12:26 UTC to 2025-07-22 07:12:28 UTC the price updated to the old one price_1RGcsQISm7ug71bbDYVJv9Ia

#

And this is expected, let me explain this further.

#

You have created a Subscription schedule with two phases with the same price. You made an update on the Subscription. That update has effect only on the current Subscription Schedule phase

#

When you advanced time to the next phase, the schedule updated the Subsciption with phase2's price, which is the old price

#

that's why it seems like there is no impact...

loud grotto
#

How do I change the phase 2 price for a subscription schedule?

golden crestBOT