v432 - Stripe Webhook Locked Scaffold and Webhook Review Dashboard
Reviewed v431 checkout URL readiness and success/cancel route scaffold and proceeded with the condensed Stripe webhook locked scaffold bundle before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.
Product changes
- Added locked review-only webhook endpoint
/api/subscriptions/stripe-webhook.
- Added Super Admin-only review endpoint
/api/admin/stripe-webhook/review.
- Added
StripeWebhookLockedReviewService.
- The new webhook scaffold verifies signed events when possible, parses unsigned test payloads for review when allowed by setup posture, stores sanitized metadata in
StripePlatformWebhookEventLog, and never updates workspace subscription status in v432.
- Added a new
/admin/subscriptions Stripe webhook review dashboard with readiness checks, event filters, verification filters, search, and CSV export.
- Added review of live ignored events, locked review events, verification failures, matched workspace events, and legacy handled events.
Safety notes
- No Prisma schema changes were made.
- The build reuses the existing
StripePlatformWebhookEventLog model.
- Webhook-driven subscription mutation remains locked.
- Checkout URL return, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.