School admin onboarding test

Full flow: subscription payment (platform) → Stripe Connect → school visible to students. Swagger · Student payment test

Setup

Flow: pay subscription → connect Stripe → students can enroll & pay your connected account.
Env: FRONTEND_URL=https://YOUR-NGROK.ngrok-free.app/test
STRIPE_SUBSCRIPTION_SUCCESS_PATH=school/subscription/success.html
STRIPE_SUBSCRIPTION_CANCEL_PATH=school/subscription/cancel.html
STRIPE_CONNECT_RETURN_PATH=school/stripe-connect/return.html
Webhook: stripe listen --forward-to localhost:3000/api/v1/webhooks/stripe (subscription + account.updated + enrollment events).

Scenario 2 — Public registration (optional)

Simulates landing-page signup: register → pay subscription → login → connect Stripe.

Step 1 — School admin login

Request log