#ericlim-sub-error
1 messages · Page 1 of 1 (latest)
Hi, can you share the request_id with me please? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_ty6bYnMXekwd8B
Since you're using the SubscriptionSchedule API you'd want to use the SubscriptionSchedule update call here, https://stripe.com/docs/api/subscription_schedules/update
I don't understand your answer. I'm not updating the schedule but subscription in this case.
Shouldn't updating subscription be successful when the attached schedules are released?
You can't directly update the subscription when using the SubscriptionSchedule
You'd need to update it with, https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases
I can't update subscription even when the schedules are released, cancelled, or completed?
That sounds correct, however, let me test this in my test environment
I was able to confirm that it's expected behavior and with SubscriptionSchedules, you'd need to use: https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases to update it.
Does that imply I won't be able to call the update subscription API once subscription has associated schedule?
That is accurate, I just tested this on my end
That is weird. Coz we can currently call update subscription API for a sub with the subscription schedules attached to it as long as the schedules are released. It only failed to update the subscription for this particular request
Let me find an example of successful requests
sorry it took some time.
req_zIPIqC7ztYOFDa was successful which was updating the subscription sub_1LAiz9E91MHwtTCLOL7v7r5x
The sub had a schedule sub_sched_1LAj0RE91MHwtTCLqkuYLwR5
somehow when I look at this subscription, the schedule is null..
it makes me think if we're not using the phases correctly,,
Not sure I follow
I'm trying to understand when a schedule is no longer associated with a subscription after it's been created.
after the last cycle of the last phase expires and then it's released