#pk18-subscriptions
1 messages · Page 1 of 1 (latest)
hi! well Stripe only handles the payment part, you have to tell us how many seats the subscription is charging for and we charge the customer's payment method according to the details of the Subscription/Price you're using. So it's up to your system to track the users and update the Stripe API if you need to
So, in this case, we only need to create stripe customer ID for admins.
I mean stripe customer account for admins as only they can buy subscription.
Plus is it possible to charge based on seats as well as the uses of the system?
yes
yes
what's the difference? What's a "use of the system" precisely?
For example like this system
Where you chose the managers as well as records and price will be accordingly calculated.
I'd add a different Price for that and set its own quantity
a subscription can have multiple Prices in the items array and each item can have a separate quantity
Do you have any idea if it can work from firebase extension?
So how does this actually work- Like For each admin who logs in to the system, depending on what he quantity he selects, we need to create price first and then pass those while creating the subscription model?
yep, it's just backend API calls so you can call it from Firebase
usually you have the Prices preconfigured and you accept the user user input and make the API calls needed to create a Subscription with the required Prices and quantities of each one
So in the items array you need to mention the price ID and quantity ?
yep
Thanks for the help.