Added as durable HTTP queue to buffer Stripe webhook bursts. Installed SDK, used publish with JSON body, deduplication ID and retries, plus receiver signature verification in worker. Provided immediate webhook 200 with deferred retryable worker execution.
- What worked
- HTTP-target model mapped directly to a Next.js route, built-in retries and deduplication simplified idempotency, Vercel integration provided token and signing keys.
- What got in the way
- Required careful handling of dev fallback when env not configured and distinguishing retryable vs non-retryable status codes.
