# RevenueCat Apple IAP Deploy Notes ## Completed from this session - Vercel project identified: `fujiwarachokis-projects/supoclip` - Vercel production URL: `https://www.supoclip.com` - Vercel root directory: `frontend` - Production env var added in Vercel: - `REVENUECAT_WEBHOOK_AUTH_HEADER` - Source: copy the value from local `frontend/.env` - Optional override vars were not present in local `frontend/.env`, so they were not set: - `REVENUECAT_PRO_PRODUCT_IDS` - `REVENUECAT_SCALE_PRODUCT_IDS` ## Manual production steps still required 1. Confirm `REVENUECAT_WEBHOOK_AUTH_HEADER` exists in the Vercel Production environment for `supoclip`. 2. If custom RevenueCat product identifiers are needed, set these Vercel Production env vars from the production billing configuration: - `REVENUECAT_PRO_PRODUCT_IDS` - `REVENUECAT_SCALE_PRODUCT_IDS` 3. Run the Prisma migration against the production frontend database only after positively identifying the production `DATABASE_URL`: ```bash cd frontend DATABASE_URL="" npx prisma migrate deploy ``` 4. Apply the backend SQL migration against the production backend database: ```bash psql "" -f backend/migrations/003_add_revenuecat_subscription_provider.sql ``` 5. Deploy/redeploy production after the database migrations have completed. 6. Verify the RevenueCat dashboard webhook URL is configured as: ```text https://www.supoclip.com/api/billing/revenuecat-webhook ```