@vercel[bot]2w ago
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| dashboard | May 26, 2026 7:23pm |
The billing UI called /api/v3.1/payments/{session,manage-subscription} via the browser apollo client, which 401s after the WorkOS migration (dead cookie) — "Please use valid API key" on Get Started / Manage Billing. Same root cause and fix as the already-merged connected-accounts / projects / org / team-members migration.
payments tRPC router (orgProcedure + x-org-id) calling the new internal-dashboard endpoints via callInternalDashboard:
payments.createCheckoutSession → /api/internal-dashboard/payments/sessionpayments.manageSubscription → /api/internal-dashboard/payments/manage-subscriptionroot.ts as payments.apollo.useMutation onto tRPC, swapping showApolloErrorToast → trpcToastOnError:
plan-card-action.tsx (checkout + manage)manage-billing-section.tsx (manage)checkout passes success/cancel URLs as before; manage passes an optional returnUrl (manage-billing-section relies on the server's dashboard-FE fallback, matching the prior return target).hermes PR #10286 (the dashboard-authed Apollo endpoints). Deploy hermes first so the endpoints exist before the dashboard calls them.
🤖 Generated with Claude Code
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| dashboard | May 26, 2026 7:23pm |