#estebangorostiaga

1 messages · Page 1 of 1 (latest)

orchid hamletBOT
primal hinge
#

hi there!

mellow mist
#

Yes! req_NWcw7fIddP58EY

primal hinge
#

well the error message is pretty clear

#

the subscription has a single subscription item, so it cannot be deleted

mellow mist
#

i mean I do have an active plan don't I?

#

So I would have to delete the entire subscription object if it has only one item?

primal hinge
#

yes it has one, so you can't delete it.

#

So I would have to delete the entire subscription object if it has only one item?
correct

mellow mist
#

Makes sense

primal hinge
#

it doesn't make sense to have an active subscription with no plan

mellow mist
#

I was thinking of that because I didn't want to create another subscription object for my user, and just add items as they want, but that makes sense I suppose

primal hinge
#

I mean you could change the plan of the existing Subscription, or add additional plans.

#

it's just not possible to delete the only remaining plan of a subscription.

mellow mist
#

Yeah I think for my application's purposes it would be better to just delete the subscription object overall. It just adds more logic on my end, which I was avoiding. Thank you though!

primal hinge
#

happy to help 🙂

mellow mist
#

I also think that the error message could be more descriptive and describe what you just told me. That would have helped me instead of coming here haha

primal hinge
#

thansk for the feedback, but I think the error is pretty clear: "A subscription must have at least one active plan. "