#akam

1 messages ยท Page 1 of 1 (latest)

orchid templeBOT
astral patio
#

It's what the message says ๐Ÿ™‚ When a Subscription is managed by a Subscription Schedule, you can't update some property of it

wooden spruce
#

i don't understand the schedule part though... it should just be a regular monthly subscription

astral patio
#

Can you paste here the Subscription Id? sub_xxx

wooden spruce
#

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

astral patio
wooden spruce
#

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?

astral patio
#

Yep! Sub under SubSchedule is different with a normal Sub

wooden spruce
#

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 ๐Ÿ™‚

astral patio
#

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

wooden spruce
#

ok. so do we need to take the schedule off before being able to let the customer add more seats?

astral patio
#

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?

wooden spruce
#

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 ๐Ÿ˜ข

astral patio
#

Sorry to hear that. Let's try the release API on a Test Sub to ensure it works

wooden spruce
#

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?

astral patio
#

Yeah

wooden spruce
#

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)

astral patio
#

Yeah it's not a common setup indeed ๐Ÿ™‚ Subscription Schedule is for advance usecases

wooden spruce
#

lol ok. is there actually a way to not add that from the dashboard setup?

astral patio
#

It's an option in Dashboard and I don't think you can hide it, sorry

wooden spruce
#

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?

astral patio
#

Sorry didn't follow your last question. You mean when use the option in Dashboard?

wooden spruce
#

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

astral patio
#

Yeah most likely. You can play around in Test mode tho ๐Ÿ™‚

wooden spruce
#

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?

astral patio
#

Yep!

wooden spruce
#

ok! thank you very much!!

astral patio
#

good luck!

wooden spruce
#

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

astral patio
#

Wait, can you put 2 requests side by side, one is the request for the Live Sub, and one is the newest test request?

wooden spruce
#

ok