Skip to content

feat: Implement billing with seat management, plan/usage settings and onboarding flow#1304

Open
charlesvien wants to merge 17 commits intomainfrom
03-17-implement_billing
Open

feat: Implement billing with seat management, plan/usage settings and onboarding flow#1304
charlesvien wants to merge 17 commits intomainfrom
03-17-implement_billing

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented Mar 20, 2026

Problem

No billing support existed, users couldn't view plans, manage subscriptions or see usage.

Changes

  1. Add seat store with full subscription lifecycle (fetch, provision free, upgrade, cancel, reactivate)
  2. Add Plan & Usage settings page with usage meters and billing management links
  3. Wire up LLM gateway usage endpoint for sustained/burst usage tracking
  4. Simplify auth store by removing subscription-based sync and dead initializeOAuth code
  5. Move CloudRegion, REGION_LABELS and URL utils to shared modules
  6. Gate free seat auto-provisioning on posthog-code-billing feature flag

How did you test this?

Manually

Copy link
Copy Markdown
Member Author

charlesvien commented Mar 20, 2026

Base automatically changed from 03-16-docs to main March 20, 2026 22:03
@charlesvien charlesvien changed the title Implement billing feat: Implement billing Mar 20, 2026
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch 3 times, most recently from 4974f34 to 16d3917 Compare March 24, 2026 08:55
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch 4 times, most recently from b306b34 to 1aae83b Compare April 7, 2026 03:54
@charlesvien charlesvien closed this Apr 7, 2026
@charlesvien charlesvien reopened this Apr 7, 2026
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch from 1aae83b to 6dfe5c9 Compare April 8, 2026 07:40
@charlesvien charlesvien marked this pull request as ready for review April 8, 2026 08:55
@charlesvien charlesvien changed the title feat: Implement billing feat: Implement billing with seat management, plan/usage settings and onboarding flow Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant