You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Clerk Billing integration with plan enforcement and pricing page
Backend:
- Add plan limits config (Free: 2 cams/1 node, Pro: 10/5, Business: 50/unlimited)
- Parse pla and fea JWT claims for active plan and features
- Add GET /api/nodes/plan endpoint returning plan, usage, and limits
- Enforce node creation limits based on org plan tier
- Rewrite webhook handler with correct Clerk billing event types
(subscription.active, subscriptionItem.canceled, subscription.pastDue)
- Set org member limits via Clerk API on plan changes (2/10/20)
Frontend:
- Add PricingPage with Clerk <PricingTable for="organization" />
- Add Subscription section to Settings with plan badge and usage bars
- Add /pricing route and nav link
- Add getPlanInfo API function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments