Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Ledger Committed. Webhook Delivery Is Unconfirmed. What Should Retry?

This article is a contribution from the A2VANTA engineering team. You read a committed payout reservation in the ledger, but you cannot confirm webhook delivery. Retrying the payout command would ask the service to perform a financial operation. Retrying the notification would ask it to send a saved event. An integration needs to distinguish those requests before choosing its recovery action. In…

The article discusses the potential issues with webhook delivery in a financial system and the importance of distinguishing between different requests when retrying operations. It explains that a payout reservation involves creating a journal entry in the ledger and staging a notification event in the same database transaction. The event is later enqueued for delivery, which requires an active endpoint and enabled webhooks.

If the delivery fails, the sender may be left uncertain, as the reservation and notification have already been committed to the ledger. The article emphasizes that each event has an ID, body bytes, and hash, and that retries retain the event ID and body bytes. It also highlights that retries can result in signature changes due to the use of a specific transmission timestamp, event ID, and exact body bytes.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The Complete Guide to SVG Icon Optimization for Web Performance

SVG icons have become the gold standard for web interfaces, offering crisp, infinitely scalable graphics that look sharp on any device.

  • SVG icons offer crisp, scalable graphics for web interfaces.
  • Poor optimization leads to large file sizes and slower rendering.
  • Tools like SVGO and SVGOMG automate SVG size reduction.

Propagating Deadlines from VIN Form Submit to NHTSA Proxy Without Orphaned Work

A free VIN form that abandons a slow decode still often leaves a DecodeVinValues call running behind the proxy. The user navigated away, a client timeout fired, or a newer submit superseded the old…

  • Mint deadline at VIN form submit time
  • Pass AbortSignal to Backend for Frontend
  • Abort on unmount, navigation, or superseding submit

More from Thursday 8 October →