Public Access
1
0

feat: launch Stripe billing flows with lifecycle hardening and analytics

add Stripe checkout, portal, webhook ingestion, and idempotent event persistence

add billing lifecycle state (grace/sync/timeline/admin visibility) and stronger entitlement handling

add analytics event tracking and admin summary APIs plus account/pricing UI integration
This commit is contained in:
pguerrerox
2026-05-22 22:55:04 +00:00
parent 94b8c357b4
commit 5508e15da1
35 changed files with 2851 additions and 50 deletions
+9 -1
View File
@@ -24,7 +24,15 @@ export type EntitlementDecisionStatus =
| 'blocked_addon_available'
| 'contact_sales_required';
export type EntitlementDenialReason = 'feature_not_available' | 'quota_exhausted' | 'custom_enterprise_only' | 'not_launch_ready' | 'billing_not_configured';
export type EntitlementDenialReason =
| 'feature_not_available'
| 'quota_exhausted'
| 'custom_enterprise_only'
| 'not_launch_ready'
| 'billing_not_configured'
| 'billing_past_due'
| 'billing_canceled'
| 'billing_inactive';
export interface UsageSubject {
type: UsageSubjectType;