stripe_customer_portal
A supabase function that creates a customer portal and returns the url for a particular user.
- Get the
supabase_user_id
from the request - Using the
supabase_user_id
query the table to get thestripe_customer_id
- Create a stripe customer portal and return the url to access the portal