Target: http://127.0.0.1:4103 (wrangler dev: workerd, Durable Object SQLite sandbox) · Measured: 2026-11-22T16:17:16.722Z
Verdict: BLOCKED (replay -> 200 {"received":true,"duplicate":true}; payments on invoice: 1)
Priya starts a normal checkout (amount comes from the database)
http
POST /api/invoices/4023ce2e-0693-4148-8356-78fadbbf7872/checkout
{}json
HTTP 200
{"url":"/app/checkout/cs_test_eyJpbnZvaWNlSWQiOiI0MDIzY2UyZS0wNjkzLTQxNDgtODM1Ni03OGZhZGJiZjc4NzIiLCJvcmdJZCI6ImQxMGU4OTdlLTNmYWQtNGZlNy04Y2U2LWVhNmM2YjgwNGU5YyIsImFtb3VudENlbnRzIjozNjQwMDAsImN1cnJlbmN5IjoiVVNEIiwiZXhwIjoxNzk1MzY3ODM2fQ.PCystwt2cLwOBNRc3irZkehzlG7W2tzVuNhCXkRW6Hw"}Priya pays in the simulated Checkout; the Worker signs a Stripe-format event and runs the real webhook path
http
POST /api/checkout-sim/cs_test_eyJpbnZvaWNlSWQiOiI0MDIzY2UyZS0wNjkzLTQxNDgtODM1Ni03OGZhZGJiZjc4NzIiLCJvcmdJZCI6ImQxMGU4OTdlLTNmYWQtNGZlNy04Y2U2LWVhNmM2YjgwNGU5YyIsImFtb3VudENlbnRzIjozNjQwMDAsImN1cnJlbmN5IjoiVVNEIiwiZXhwIjoxNzk1MzY3ODM2fQ.PCystwt2cLwOBNRc3irZkehzlG7W2tzVuNhCXkRW6Hw/pay
{}json
HTTP 200
{"paid":true,"outcome":"processed","event_id":"evt_d9d86ba85a3ee78722615654","invoice":{"id":"4023ce2e-0693-4148-8356-78fadbbf7872","number":"NLS-1006","status":"paid","client":{"id":"d58271c3-04c1-423e-9056-a6db2ba2c83f","name":"Bramble Coffee Roasters"},"total_cents":364000,"currency":"USD","issued_on":"2026-10-17","due_on":"2026-10-31","paid_at":"2026-11-22T16:17:16.352Z"}}Maya reads the webhook log
http
GET /api/webhook-logjson
HTTP 200
{"items":[{"id":"evt_d9d86ba85a3ee78722615654","type":"checkout.session.completed","received_at":"2026-11-22T16:17:16.352Z","processed_at":"2026-11-22T16:17:16.352Z","invoice_id":"4023ce2e-0693-4148-8356-78fadbbf7872","outcome":"processed"}]}Maya fetches the exact signed delivery (demo-only route)
http
GET /api/webhook-log/evt_d9d86ba85a3ee78722615654/rawjson
HTTP 200
{"event_id":"evt_d9d86ba85a3ee78722615654","payload":"{\"id\":\"evt_d9d86ba85a3ee78722615654\",\"object\":\"event\",\"api_version\":\"2026-11-18.endive\",\"created\":1795364236,\"livemode\":false,\"pending_webhooks\":1,\"request\":{\"id\":null,\"idempotency_key\":null},\"type\":\"checkout.session.completed\",\"data\":{\"object\":{\"id\":\"cs_test_eyJpbnZvaWNlSWQiOiI0MDIzY2UyZS0wNjkzLTQxNDgtODM1Ni03OGZhZGJiZjc4NzIiLCJvcmdJZCI6ImQxMGU4OTdlLTNmYWQtNGZlNy04Y2U2LWVhNmM2YjgwNGU5YyIsImFtb3VudENlbnRzIjozNjQwMDAsImN1cnJlbmN5IjoiVVNEIiwiZXhwIjoxNzk1MzY3ODM2fQ.PCystwt2cLwOBNRc3irZkehzlG7W2tzVuNhCXkRW6Hw\ ...Replay the same bytes with the same Stripe-Signature (from the visitor browser, so the sandbox cookie rides along)
http
POST /api/stripe/webhook
stripe-signature: t=1795364236,v1=a6b3c43c643f396ed0f8e76647499fc2c91c1a77ae9b663e1ed86448497bb6c7
<exact bytes of the delivered event>json
HTTP 200
{"received":true,"duplicate":true}Count payments on the invoice afterwards
http
GET /api/invoices/4023ce2e-0693-4148-8356-78fadbbf7872json
HTTP 200
{"invoice":{"id":"4023ce2e-0693-4148-8356-78fadbbf7872","number":"NLS-1006","status":"paid","client":{"id":"d58271c3-04c1-423e-9056-a6db2ba2c83f","name":"Bramble Coffee Roasters"},"total_cents":364000,"currency":"USD","issued_on":"2026-10-17","due_on":"2026-10-31","paid_at":"2026-11-22T16:17:16.352Z"},"items":[{"id":"6db15ab1-7ebc-4582-9ceb-20060eedec64","description":"Webflow build and CMS setup","quantity":1,"unit_cents":195500},{"id":"2ca8178b-3c0c-480f-b151-0229bcfe5097","description":"Email newsletter template","quantity":1,"unit_cents":57000},{"id":"617446db-93f8-4dc5-9f35-34a697437ec5", ...