#mathieu_api
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/1341036963519791166
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐
Have you tried to use the Update API:
https://docs.stripe.com/api/subscription_schedules/update
Yes it's what i tryed
First create subscriptionschedule.New with only params FromSubscription: ¤tSubscription.SubscriptionId,
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
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"
req_QFiXryjIkkNJPi
ANd what you want to update exactly ?
At the end of this subscription the 17/03 https://dashboard.stripe.com/subscriptions/sub_1QtU6yDeg55eSBYj1tJCv5uP
I want that the price price_1MzGUODeg55eSBYjXMr8KF7O to get replace by the price price_1MzGV6Deg55eSBYjqmQNgV22
In the request req_QFiXryjIkkNJPi you need to use the new price and the exact start_date
What is the exact start date ?
1739797908
This is not what I expected
The change is not at the end of the subscription (next month), it was made now
Yes you shouldn't update the start date in all cases
This fields is mandatory
What is the goal of SubscriptionSchedule if I cant apply it in the futur ?
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...)
I dont understand your next phase
Can you detail the request I need to do to achieve this need :
At the end of this subscription the 17/03 https://dashboard.stripe.com/subscriptions/sub_1QtU6yDeg55eSBYj1tJCv5uP
I want that the price price_1MzGUODeg55eSBYjXMr8KF7O to get replace by the price price_1MzGV6Deg55eSBYjqmQNgV22
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You need to make this same update request with start_date 1739797908
Sorry, but I'm constraint to close this thread (as Discord is now closed) please write to Stripe Support for any follow up questions