Skip to content

Fix: PesaPal status polling silent failure on expired nonce

Choose a tag to compare

@frisoftltd frisoftltd released this 09 Aug 08:56
· 18 commits to main since this release

Closes out the nonce-cache audit. dd_pesapal_check_status (checkout PesaPal polling) previously failed identically to the other fixed siblings on an expired nonce — silent, no message, frozen "waiting for approval" screen. Reused the dd_get_fresh_nonce endpoint (v3.18.26) — retries exactly once per 5s tick on a success:false response. Matches dd_momo_check_status's existing good pattern rather than inventing new UI: updates the same status element used for the FAILED/REVERSED terminal state, neutral color, self-heals once a poll succeeds again. First-attempt network errors stay silent exactly as before. Server-side nonce verification, dd_momo_check_status, and every previously-fixed handler are untouched.