#Thomas-Subscription

1 messages · Page 1 of 1 (latest)

latent crown
#

How are you removing product? By calling our API?

light estuary
#

Yes, I'm removing the SubscriptionItem corresponding to my product from the subscription

latent crown
light estuary
#

Yes but I receive it the moment I remove the product. I would like to be notified of the removal at the end of the subscription period, but I don't know if it's possible.

opal aspen
#

well by default the product is removed at the time you make the update API call to remove it. If you're having it happen at the end of the period, you'd be using SubscriptionSchedules to do that, but you will still get customer.subscription.updated event at that point — the current_period_end/current_period_start changes as a new cycle has started, and also the items will have changed if the Schedule has changed them to remove the product

#

but yeah to be clear the only way to make this automatic is to use Schedules really, not by receiving an event and responding to it