Skip to content

Fix: order tracking silent failure on expired nonce

Choose a tag to compare

@frisoftltd frisoftltd released this 09 Aug 07:59
· 20 commits to main since this release

order-tracking.js's 30s dd_get_order poll previously failed identically to the hours banner on an expired nonce: silent, no error, no timeout. Unlike the hours banner, this endpoint returns real per-order data, so the server-side nonce check is left fully intact. Instead, added a new, deliberately-unauthenticated dd_get_fresh_nonce endpoint that the poll calls to fetch a replacement nonce and retry exactly once per cycle; if the retry also fails, a visible error is shown instead of continuing to poll silently. Network-level failures and the 30s polling cadence are unchanged.