Billing & Subscriptions
Core account-only workflows. Uses Polar as payment provider (not in-app IAP on native trek apps for this flow).
Outline
| § | Slug (planned) | Topic |
|---|---|---|
| 3.1 | billing-dashboard |
Manage Account / Billing (/account/manage, /account/billing) |
| 3.2 | polar-checkout |
Start checkout; return URLs; success/cancel |
| 3.3 | view-invoices |
Invoice history in dashboard (as implemented) |
| 3.4 | change-plan |
Upgrade/downgrade supporter tier |
| 3.5 | cancel-or-pause |
Subscription lifecycle (per product rules) |
| 3.6 | payment-issues |
Failed payment, retry, support path |
| 3.7 | polar-testing |
Internal Polar Testing page (/account/polar-testing) — staff only; omit from public screenshots |
User journey (all platforms)
Trek app → Manage Account → account.ptreks.com (JWT) → Billing dashboard → Polar
Security notes for writers
- Do not document admin Polar keys in public manual.
- Tester/staff pages gated by role in app.
📚
No topics in this chapter yet
Content for this section is being prepared.