π§ Integration Debug Dashboard
Debug Your Integration
This page will help you identify what's not working with your Supabase and email integration.
Click each test button below to diagnose issues step by step.
1οΈβ£ Supabase Connection
Test if we can connect to your Supabase database.
2οΈβ£ Database Schema
Check if the orders and contacts tables exist.
3οΈβ£ Email Functionality
Test if email sending is working via Resend.
4οΈβ£ Full Contact Form Test
Test the complete workflow: database + email.
π Environment Variables Status
Check your Vercel Dashboard β Project Settings β Environment Variables to ensure these are set:
Supabase (Auto-configured):
- β’ SUPABASE_URL
- β’ SUPABASE_SERVICE_ROLE_KEY
- β’ NEXT_PUBLIC_SUPABASE_URL
- β’ SUPABASE_ANON_KEY
Email & Payment:
- β’ RESEND_API_KEY
- β’ STRIPE_SECRET_KEY
- β’ PUBLIC_STRIPE_PUBLISHABLE_KEY
- β’ STRIPE_WEBHOOK_SECRET
π Common Issues & Solutions
1. Supabase Connection Failed
β’ Check environment variables are set in Vercel
β’ Ensure Supabase project is active
β’ Verify Vercel integration was completed
2. Database Tables Missing
β’ Go to app.supabase.com β SQL Editor
β’ Run the SQL schema from DEPLOYMENT_CHECKLIST.md
β’ Verify tables appear in Table Editor
3. Email Not Working
β’ Check RESEND_API_KEY is set correctly
β’ Verify domain is configured in Resend dashboard
β’ Check spam folder for test emails
4. Environment Variables
β’ Redeploy after adding/changing environment variables
β’ Check Vercel Dashboard β Functions β View Logs for errors