v433 - Stripe Subscription Sync and Trial-to-Paid Readiness Bundle
Decision
Proceed with the Stripe subscription sync and trial-to-paid readiness bundle before changing payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.
What changed
- Added Super Admin-only API route:
/api/admin/stripe-subscription-sync/readiness.
- Added
StripeSubscriptionSyncReadinessService.
- Extended
/admin/subscriptions with a new Subscription sync and trial-to-paid readiness section.
- Added review-only visibility for saved Stripe customer/subscription mapping, duplicate Stripe ID risks, provider sync readiness, recent webhook event sync previews, trial end date readiness, trial ending soon and expired trial counts, checkout approval context, and URL-readiness context.
- Added filters and CSV exports for Stripe ID mapping readiness, trial-to-paid readiness, and webhook subscription sync preview.
- Added review-only environment flags to
.env.example.
What remains locked
- Webhook-driven subscription status mutation.
- Trial-to-paid conversion.
- Checkout URL return.
- Payment collection.
- Customer portal sessions.
- Hard billing gates.
- Broker distribution limits.
- Owned portal rules.
- Internal load-board access.
Prisma schema impact
None.