#Ritchie
1 messages · Page 1 of 1 (latest)
Hi there!
Now, is there an easier or recommend way to manage achieve the above? Or is what I described a good solution?
What you described seems correct to me! One subscription per user, and adding/removing price on the subscription when needed.
Also, how would I charge the customer as soon as a new item is added?
With this https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior set toalways_invoice
Perfect, thank you. What about a customer keeping their items until the next billing period when you remove an item? I think from my experimentation yesterday, the item was removed in the customer.subscription.updated event?
Is that something I have to keep track of?
When you remove an item it is removed immediately. If you don't want to create prorations, set proration_behavior: none, and keep track on your end if the user should have access to the feature or not.
Another option is to remove the item in the future, by using a subscription schedule: https://stripe.com/docs/billing/subscriptions/subscription-schedules
Thank you. Last thing, which webhook event is typically used to detect when a subscription has successfully renewed?
Amazing. Thank you so much for your help!
Happy to help 🙂