#mathieu_api

1 messages ยท Page 1 of 1 (latest)

topaz lilyBOT
#

๐Ÿ‘‹ 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/1341036963519791166

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

storm marsh
foggy shuttle
#

Yes it's what i tryed

#

First create subscriptionschedule.New with only params FromSubscription: &currentSubscription.SubscriptionId,

storm marsh
foggy shuttle
#

And then, when I want to update I have :

When and dont use start_date
The subscription schedule update is missing at least one phase with a start_date to anchor end dates to.

#

When i use start date :
You can not modify the start date of the current phase.","request_id":"req_QFiXryjIkkNJPi"

storm marsh
#

ANd what you want to update exactly ?

foggy shuttle
storm marsh
#

In the request req_QFiXryjIkkNJPi you need to use the new price and the exact start_date

foggy shuttle
#

What is the exact start date ?

storm marsh
#

1739797908

foggy shuttle
#

This is not what I expected

#

The change is not at the end of the subscription (next month), it was made now

storm marsh
#

Yes you shouldn't update the start date in all cases

foggy shuttle
#

This fields is mandatory

#

What is the goal of SubscriptionSchedule if I cant apply it in the futur ?

storm marsh
#

For the current phase you need to keep the same start_date

#

you can't update it to another one

#

If you want to make future updates, then do it on the next phases (2, 3...)

foggy shuttle
#

I dont understand your next phase

storm marsh
#

Sorry, but I'm constraint to close this thread (as Discord is now closed) please write to Stripe Support for any follow up questions