Navigation
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_packs table
  • 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:

  1. Go to ShopSupabase page
  2. Verify all 9 packs are displayed
  3. Test a purchase end-to-end
  4. Compare with old Shop page
  5. Once verified, redirect Shop → ShopSupabase