Phase 14, part 3: Stripe's events
/billing/stripe takes Stripe's webhooks, signatures checked, each event handled once, and keeps each team's subscription up to date: checkout, its status, seats and period, failed and paid invoices, cancellation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,8 @@ var routeAreas = map[string]string{
|
||||
"/static": areaPublic, "=/favicon.ico": areaPublic, "=/healthz": areaPublic, "=/mcp": areaPublic,
|
||||
"/signin": areaPublic, "=/signout": areaPublic, "=/forgot": areaPublic, "/reset": areaPublic,
|
||||
"/setup": areaPublic, "/invite": areaPublic, "/signup": areaPublic,
|
||||
// Stripe's events: signed with the webhook's secret instead.
|
||||
"=/billing/stripe": areaPublic,
|
||||
"/teams": areaSignedIn,
|
||||
// The JSON API: its own keys, like /mcp.
|
||||
"/api": areaPublic,
|
||||
|
||||
Reference in New Issue
Block a user