Migrate Stripe Packs to Supabase
Automatically copy your 9 Stripe products to Supabase
✨ What This Does:
- Reads your 9 active Stripe products
- Extracts Pearls and Golden Eggs from product names
- Formats prices correctly (£2.99, £5.95, etc.)
- Inserts into Supabase
currency_packstable - Sets display order and "popular" flags automatically
- Skips duplicates (safe to run multiple times)
⚠️ Before Running:
- Make sure Supabase tables are created
- Verify STRIPE_SECRET_KEY is set
- Verify SUPABASE_URL and SUPABASE_SERVICE_KEY are set
- This is admin only
🎯 After Migration:
- Go to ShopSupabase page
- Verify all 9 packs are displayed
- Test a purchase end-to-end
- Compare with old Shop page
- Once verified, redirect Shop → ShopSupabase