Hello, I'm having a problem figuring out how to manage multiple-product Stripe subscriptions. I have a Vuejs app using Firebase cloud functions to deal with the Stripe payments. (I am NOT using the firebase stripe extensions). Our app is basically a check in/check out service where people can check some items in - (which creates a multi-product subscription) and when they want to retrieve an item we remove that item from the subscription. When the quantity of all the items in the subscription equals zero then the subscription is cancelled. I'm sending an object with all the items to be removed from the subscription to the cloud function, then I want to go through and reduce the quantity of the subscription item (if more than 1) and then also check to see if I need to cancel the subscriptions (quantity of all subscription items = 0). I'm fairly new and still learning ... if anyone has any insight on what the best approach with doing this as a cloud function?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/41e998ae-22c2-4753-a6e0-bd1b85e1712dn%40googlegroups.com.