Catching Double Charges and Costly Refunds with Kane CLI
A buyer retries a $75 payment after a timeout, gets one confirmation, and pays $150. The loading spinner just got expensive. In a second scenario, a cancelled show looks fully refunded, but the organizer keeps the payout and the platform eats $75. Surprise sponsorship, courtesy of the refund button. Gaatru is a payment sandbox and release check for event platform teams. Kane CLI runs checkout and cancellation in Chrome, reads the amounts on screen, and saves a failure report and handoff for Codex. For cancellations, Gaatru compares Kane’s three readings with the sandbox ledger and the expected amounts. Codex fixed both ledger behaviors. A retry reuses the original capture, and a cancellation reverses the organizer transfer once. The same checks then passed with one $75 charge and a $75 buyer refund, the organizer transfer reversed, and $0 platform cost. The demo shows both intentional sandbox failures, the code fixes, and the recorded reruns.
Kane writes a report and a Markdown handoff to the workspace. Codex reads them directly, applies the fix, and reruns the unchanged objective. The repository includes both objectives and the recorded before-and-after results. To try the sandbox, run npm ci and npm start, then open http://127.0.0.1:4174 and switch between the original and repaired builds.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →