#akam
1 messages ยท Page 1 of 1 (latest)
It's what the message says ๐ When a Subscription is managed by a Subscription Schedule, you can't update some property of it
i don't understand the schedule part though... it should just be a regular monthly subscription
Can you paste here the Subscription Id? sub_xxx
sorry for all my confusion, i'm working with code that wasn't mine and am trying to understand why the schedule part is here... sub_1M4sJZGMOUFizFlQGegkekTz
This sub was created via a Subscription Schedule from Dashboard: https://dashboard.stripe.com/logs/req_IenRYXnhImpRvE!
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yeah, i am seeing that as well
does that impact how the user is able to update the qty as compared to sub created via api?
Yep! Sub under SubSchedule is different with a normal Sub
i think we have a bunch that were setup manually before the api integration work for self-service signup was completed
what do i need to know to make it happen? I'm not totally following your comment after yep ๐
Sorry! it's simple by design that when a Subscription is "controlled" by a Subsciption Schedule, you can't change some properties of it since it will make unexpected change to the original scheduler
ok. so do we need to take the schedule off before being able to let the customer add more seats?
There is an API to release the Subscription from the Subscription Schedule. This is a Live Subscription, don't you want to test in Test mode first?
Enable test mode, create a Subscription Schedule, wait until it creates a Subscription then call Release: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#releasing-subscription
hm. i mean, yeah. the situation is that this live sub customer tried to pay us more today by adding a bunch of seats to his existing sub and it failed. i need to figure out the best way to get the $ for more seats asap while he's engaged.
i feel like this may actually be the only one created that has a schedule, for some reason, but i can't confirm that (not sure how to search for it). I really just want it to be treated like the other "regular" subs.
i'm not having a great day, so i really appreciate any and all help ๐ข
Sorry to hear that. Let's try the release API on a Test Sub to ensure it works
sure. was just reading the docs, and it looks like the schedule can be released and the rest of the sub stays in place, ie the billing cycle?
Yeah
ok, feels like that's what we'd need to do. why would you have a schedule with a recurring subscription? (fair if you say this is not be a common use case and not sure why it got setup that way)
Yeah it's not a common setup indeed ๐ Subscription Schedule is for advance usecases
lol ok. is there actually a way to not add that from the dashboard setup?
It's an option in Dashboard and I don't think you can hide it, sorry
just so i can tell people not to select it in the future
oooh. is it setting the end date instead of leaving it as forever?
Sorry didn't follow your last question. You mean when use the option in Dashboard?
yeah, sorry. when i was looking at other subs from the dashboard, i see some that don't have a schedule created. So i was wondering if you leave the end date as forever in that section, if that prevents the schedule from being created.
i just checked out v1/subscription_schedules and only see that one, but I'm positive more than just that sub were created from the dashbaord
Yeah most likely. You can play around in Test mode tho ๐
fair enough ๐
just to wrap a bit, i should try a test one, then release, and try to update the qty
and by releasing the sched, it should "unlock" the sub so it can then be updated?
Yep!
ok! thank you very much!!
good luck!
if you're still there? i have some progress, but an unexpected result.
i created a test sub with a schedule, and from postman tried to make the same post updating the qty without releasing, but I'm not getting an error (and also getting 200 response). i was expecting it to fail
Wait, can you put 2 requests side by side, one is the request for the Live Sub, and one is the newest test request?
Find them in your requests log https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ok