Ask HN: Simplest way to add paid subscription plan to my webapp?
https://news.ycombinator.com/item?id=24323879I have a popular webapp that is currently free for all users and doesn't require login. I want to add an optional feature that will require the user to pay $5 per month.
How can I do this with the least amount of code? Is there a platform-as-a-service that integrates Google sign-in and Stripe subscription billing?
Ideally I want to just include a line of javascript (provided by the platform) to my web pages which adds a 'Log in/Register' button in the top-right corner of my webapp - then I just check the user's subscription status on the server to enable the feature. I don't want to mess around with Google authentication tokens or Stripe webhook callbacks.