create_stripe_customer
A supabase function that creates a stripe customer and returns the stripe_customer_id
. Steps:
- Get the
supabase_user_id
from the request - Check if
stripe_customer_id
already exists in the table. If it does, skip the following steps - Create stripe customer and store the
stripe_customer_id
- Update the table with the
stripe_customer_id
and return it