How can we implement the /user/month plan for team.
I have read the usage based pricing but when I try to implement it, It takes the payment of $0. But team has already 1 member it, so how can I do that?
Any help would be recommended.
Currently I have normal sub plan and every new team invite it increases the quantity added to stripe sub.
5 Replies
Could you clarify your question? Are you asking for help on creating pricing plan? Or about the code required to do the subscriptions and get the money? Or what?
Code part and what type of plan it should be
usage based pricing model, and the stripe api allows you to record usage, you just have to send a request to their api with the usage, docs here https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage
Record usage for billing
Learn how to record and report usage for your customers.
they recommend using a queue of some kind, however say that you could do it as they come in if you want (however, rate limits might be an issue)
If plan is yearly then, next payment will be next year so in that time frame user can remove team member and they can save money.
What is potential solution to that