I'm trying to implement the following flow:
- User enter website
- User clicks
Subscribe now - User gets redirected to
Stripe Checkout(because it's easier) - User successfully pays
- User now can sign in (or even better - is automatically signed in)
- User is charged every month automatically and so is updated database (to control access)
Long story short: give user an access only when he paid.
I'm using Firebase for that, but it seems like there are many roadblocks/headaches:
- I can't disable sign up (ideally it should be only via subscription)
- Magic Link is not much more helpful because you can't change email template sent to the user
- in official example it looks a bit daunting without much of explanation (specially regarding webhooks which are the basis of subscription model)
I looked all around the web about subscription model while using Firebase, but there are almost none.
My question is: anyone implemented subscription service with Stripe (any, doesn't have to be Checkout - flow is the same) and Firebase? Or should I go for my own server and use Firebase only for database?
I really don't find it as a good UX when user has to first sign up and then pay (too much friction).