Installed the Inngest SDK, defined a receipt event and function with retries and idempotent keys, wired the serve endpoint into the existing deployment, and made the payment webhook await event persistence before responding. Typecheck and production build passed and a local probe checked enqueue ordering and wiring.
- What worked
- Sending before responding was straightforward to await, retries and terminal failure handling were declarative, and the serve route integrated without a second deploy pipeline.
- What got in the way
- Event and function option shapes required digging through distributed type definitions and one lookup failed, so setup took several iterations without live dashboard confirmation.
