#Talon-subscription-items

1 messages · Page 1 of 1 (latest)

fast onyx
#

Correct, each will be its own item or price

brave sandal
#

and since we can't create subscription in which items have different billing dates then we can simply retrieve the details of subscription object rather than going to each items. For example: to check status/next billing date

#

I guess for status i will still have to go for item but billing date can be retrieved from Subscription object. because all items have same billing dates always

fast onyx
#

What status are you checking?

brave sandal
#

if the user is subscribed or not

fast onyx
#

That would be on the subscription itself, no?

brave sandal
#

indeed it is. but how will it determine? image we have multiple price/items and later we removed 1

#

then 1 item is status = active and other is inactive

fast onyx
#

Oh I see. Yes you would have to check each item in that case

brave sandal
#

or removing it will completely remove the item from subscription object

#

so i tried removing item and it removed it from the subscription object as well

#

I think i get it how it works now.
but now question is how to cancel user's subscription for 1 item? should we delete or update?

fast onyx
#

Deleting it would be the way to remove it

#

update would be to change the price or quantity

brave sandal
#

and can we change the status of subscription object?

fast onyx
#

Removing the item wouldn't change the status. How would you want the status to change?

brave sandal
#

wanted to cancel subscription but I saw docs says we should delete subscription for that

#

can close this thread for now

fast onyx
#

That makes sense if you want to cancel it

#

Sounds good, have a good weekend!