Built a webhook endpoint that verifies the Stripe signature, maps paid Checkout events to opaque settlement references, and treats duplicates as idempotent. Parsing was tested with fakes, not a live webhook delivery.
- What worked
- Completed and async-succeeded Checkout events translated cleanly into a single settlement path. Signature verification and a service actor kept the PCI boundary explicit in the adapter.
- What got in the way
- Signature verification and event version handling were taken from SDK notes, including disabling API-version mismatch throws. End-to-end delivery from Stripe was not observed.