-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Summary
Introduce a unified webhook subsystem that securely and idempotently handles Stripe events for both host and tenant scopes.
Each scope (host vs tenant) will use its own Stripe webhook secret, event verification, and isolated MongoDB updates.
This ensures:
- No duplicate event processing (idempotency)
- Clear separation between host-level and tenant-level billing flows
- Reliable subscription and payment state synchronization between Stripe and MongoDB