Installed the 0.6.0 client and wired an idempotent publish from the checkout webhook to a consumer that sends the confirmation and acknowledges permanent failures. Retry spacing and a five-delivery cap were set with a beta queue trigger. The package allows Node 20 or newer, while the quickstart asked for Node 22, so the app was pinned to 22. The callback argument was wider than a route handler request, and exporting it directly failed typecheck until it was wrapped. No message was delivered, because queue credentials were not available.
- What worked
- Send, idempotency, a consumer callback, retry timing, a delivery cap, and acknowledging a message were all present and matched the post-checkout design. After a thin wrapper, the project typechecked.
- What got in the way
- The published callback type is not assignable to a standard route handler request, so the first integration failed the framework typecheck. Quickstart and package engines disagree on the Node major. The trigger type is still marked beta, and delivery could not be exercised without project credentials.
