#kitem - subscription schedule error
1 messages ยท Page 1 of 1 (latest)
Thanks for the info. Checking in to that error and I will get back to you
What is your code to try to update the schedule? That first request req_jXmDjAdPZHbwge is actually for releasing a schedule which should be an entirely different endpoint
Yes correct, i don't undestand why it goes in release
the code I'm using is basaically this
$subscriptionSchedule = \Stripe\SubscriptionSchedule::update(
$idSubscriptionSchedule,
[
$data
]
);
so when i do the update of the schedule, it goes directly in release
(I'm coming with the correct request)
Here the request of update
req_M0bigcfR1CcViW
Here the list of all requests in order:
req_yQHMrfyPm7Ix11
req_UXMrPMrnLIgYvt
req_M0bigcfR1CcViW
req_xhY6iakPhski4c
req_uW1sKglLUdjlBq
req_CJo1QXzbmWNrXs
req_k8abCIUkVGhKOH
Are you sure that somewhere in your code isn't calling SubscriptionSchedule::release in a place you aren't expecting?
I will try to recreate, but as far as I can see that endpoint should only be called if SubscriptionSchedule::release is actually being called in your code. Otherwise this sounds like a bug, and I'll see if I can narrow down what might be happening there
mhm, I'll check now
maybe I've missed some webhook to debug and is releasing
Well I can confirm, you're right
my bad
๐
Thank you