#shun31-metered-billing
1 messages · Page 1 of 1 (latest)
Yes, I have been looking into it and found that, but I don't know how to solve it😫
you'd have to change the code in the Firebase function, or you'd have to use a different Price object.
i.e use a Price that is not metered, or change the code in that sample so it can support metered prices(it doesn't today)
or looking at the code (https://github.com/stripe/stripe-firebase-extensions/blob/master/firestore-stripe-payments/functions/src/index.ts ) ,if you pass line_items in the request that your frontend makes to the firebase function(instead of just passing the price on its own), then you can just pass [{price:'price_xxx'}] (with no quantity)
Thank you!
I'll try some things once🙏