How to build minimal login and payment for web app?
What is the easiest way to build a minimal product that has a way to have users sign in and pay a monthly subscription? Let’s say we want to do this in Python. To make this more concrete suppose I want to monetize a function hello(name) that takes a string and prints out "Hello, " + name + "!". What is the easiest way to build the subscription and payment infrastructure? Is there a SaaS that solves this problem?
I'll be doing that as well for our internal machine learning platform. I'll use Stripe, but it doesn't accept Algeria, so we'll use our accounts in France.
You can use Flask Login[0] for the login part and I hope you live in an area that payments services support.
- [0]: https://flask-login.readthedocs.io/en/latest/
Django has the sign in stuff built in and stripe can provide the payments quickly, they even provide the payment forms.
Please don't build one yourself for actual commercial use. Please rely on established ones for that. Otherwise it's a great exercise.