In my web app I have a button saying Access my stripe dashboard which opens stripe customer portal. In the portal user can manage his/her subscriptions add or remove user emails.The pricing model goes like this:
- Free account -> 2 credits no multiple users
- Basic -> 9€ / users / mo for 20 credits per user – Up to 10 users
- Pro -> 29€ / users / mo for 50 credit per user – Up to 20 users
- Expert -> 39€ / users / mo for 500 credits per user – Unlimited users
After the payment, when a user login with the email that is added by some subscribed user, he/she can use the premium version of the app without knowing anything about stripe.
How to implement this feature? Is is possible to create the user management system fully within stripe customer portal? If no, then how to build it using api?