Files
dtf-system/web/checkout.js
Cauê Faleiros b50318ce3d
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 8m10s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m7s
fix: the Site stops waiting for a payment's order once the page lets the quote go (DTF-WEB-29)
waitForOrder polled /quotes/<draftId> every 3 s after a PIX or a card
challenge; "Voltar ao carrinho" (an expired PIX) cleared draftId and the poll
went on asking /quotes/null, which reached Sentry as a 422. The wait now keeps
the quote it started for and stops when the page's quote changes or is gone,
and each wait clears only its own timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:24:12 -03:00

50 KiB