#Edmond-dev
1 messages · Page 1 of 1 (latest)
Hi there! Could you share the request ID for this error? The request ID should look like req_...
@tepid mural let's chat here!
Just adding the request ID you shared in the main channel: req_ZZYS4Xa2CC5dca
@tepid mural and adding your screenshot so we have all context in this thread
Let's take a step back. In your update request, are you attempting to update the current phase and add a new phase, or do you want to end the current phase and immediately start a new phase?
I want to update the amount, interval and interval count to the existing and active phase.
when updating a subscription schedule, if you want to keep the previous parameters/values, you need to pass in all of that too
so like what the error message mentions, your phase is missing those information
Including values for the previous phase too? That's what I tried to do as you can see in the screenshot. I have also gone through the docs, for update, it's not quite clear I did not use iterations but the errors suggests I do which is not what I want. And Endbehavior field does not exits in individual phase
you don't need to pass in the previous phase(s), only for the current and future phases - i don't see any start date for the first phase : https://dashboard.stripe.com/test/logs/req_ZZYS4Xa2CC5dca
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Am retrying by copy and pasting the phase that was created to the update object and then adding a second phase.
check the new error for req_fpWZtmxMnhYUZY
and for req_8akv571ayeGnTH
and after all the changes for error id req_DXMjfDks51rHPJ
you'll want to refer to https://stripe.com/docs/api/subscription_schedules/update - the start_date needs to be passed in the phase [0], and there's no customer parameter.
[0] https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-start_date