© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
2 replies
vonneumann

Help with Stripe wrapper on Supabase!

How do I set up a simple subscribe and cancel button using Stripe?

I'n running a front-end only React app with Supabase as my backend-as-a-service. Here are my steps:
1. When I register a user using Supabase, I also create a new Stripe customerID from that email and store the relationship between my userID and customerID - however, I'm worried that the subscriber will need to use the same email on the credit card - is this true or not?
2. I use a redirectToCheckout button since I'm front-end only
3. I use the Stripe wrapper on Supabase (which updates real time). If the user successfully subscribes, their customerID is recorded in the Supabase database (which I can check for a subscription)
4. I can't find a cancel equivalent of redirectToCheckout so far - please help
If I'm doing this wrong, can someone please help! Thank you so much
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Stripe wrapper support
SupabaseSSupabase / help-and-questions
5mo ago
Supabase Foreign Data Wrapper help
SupabaseSSupabase / help-and-questions
5mo ago
Supabase - stripe connect
SupabaseSSupabase / help-and-questions
3mo ago
Help integrating a subscription system in supabase with stripe.
SupabaseSSupabase / help-and-questions
3y ago