Internal · The Living Compass
Energy X-Ray checkout setup
Until Gumroad products exist, compass orders use Stripe via checkout.html. Gumroad Ping + auto-report already work when you add products.
Gumroad products to create
| Product | Price | Suggested slug | SKU variable |
|---|---|---|---|
| Energy X-Ray · Single Room | $19 | compassrm | COMPASS_ROOM_SKU |
| Energy X-Ray · Full Home | $39 | compasshm | COMPASS_HOME_SKU |
| Home + 2026 Year | $49 | compassyr | COMPASS_YEAR_SKU |
| Living Compass Annual | $79 | compassann | COMPASS_ANNUAL_SKU |
Paste slugs into js/gumroad-products.js. Checkout URL params: guanlan_dob, guanlan_gender, guanlan_facing, guanlan_xray_year.
Stripe webhook (auto delivery)
Dashboard → Webhooks → https://metaphysicflow.com/api/stripe-webhook
Event: checkout.session.completed
Vercel env: STRIPE_WEBHOOK_SECRET, BLOB_READ_WRITE_TOKEN, RESEND_API_KEY
Annual pass monthly emails
Cron: 0 9 1 * * → /api/cron/compass-monthly
Set CRON_SECRET in Vercel (auto-sent as Authorization bearer). Members stored in Blob compass-annual-members.json on compass-annual purchase.
Gumroad Ping (already wired)
Ping URL: https://metaphysicflow.com/api/gumroad-ping
On sale → generates HTML report on Blob → emails buyer link. No Zi Wei drip emails for compass products.
Thank-you redirects
Already in js/gumroad-products.js → GUANLAN_GUMROAD_THANK_YOU for each compass key.