Also check out our full Stripe Payments examples for React Native (Expo) and Flutter.
cp supabase/functions/stripe-webhook/.env.example supabase/functions/stripe-webhook/.env
- Terminal 1:
supabase functions serve --no-verify-jwt stripe-webhook --env-file ./supabase/functions/stripe-webhook/.env
- Terminal 2:
stripe listen --forward-to localhost:54321/functions/v1/
- Terminal 3 (optional):
stripe trigger payment_intent.succeeded
supabase functions deploy --no-verify-jwt stripe-webhook
supabase secrets set --env-file ./supabase/functions/stripe-webhook/.env