I'm looking for suggestions about how to create user facing plans and manage which features are available to them? To my knowledge Chargebee, Recurly, Stripe handle all the billing / subscription management, but do I have to build all the logic around what features are available for which plans in my app, or is there a way to abstract this?
For reference, we currently use Stripe for billing, Firebase for authentication, Node.js on the backend, and React on the front end.
This blog post is pretty in depth, I think it might be a good starter for you: https://blog.checklyhq.com/how-we-manage-plans-features-in-our-saas-app/
Awesome link thanks
That's a great resource!
https://www.servicebot.io/ might handle some of that @Shary_Servicebot
Thanks for the shoutout @volkandkaya! Hey @memn0nis, I'd be happy to chat if you're still looking for solutions
I use python, therefore it is extremely simple to decorate a function. One example would be having a decorator that looks up the user roles, if the user is active, if there is no time based constraints, the plan the organisation is on, the feature being checked, the features quota, current consumption, stuff like that. Functions can be decorated more than once, and in the decorator you can short circuit to prevent further processing.
I know node, PHP, perl, go, rust, c, java, and python is the only language that allows me to do so many thinks like this simply and DRY
This is super helpful. We do mostly Node development which has decorators, but its still a bit of a bain