Developer's card top-up limit fix shipped to a function the live payment route never called
A backend engineer at a mobility and fintech platform fixed a top-up limit check that treated blank admin-set limits as real values, causing some rails to refuse every payment. He consolidated the logic into one resolver that falls back to defaults for non-positive or invalid bounds. His tests passed, but he had only tested a validator on the card rail that the live card routes never call, so the card route had no limit check at all after the release. The release note acknowledged the gap. He moved the check into the validator the live routes actually run, refusing amounts before any payment claim or provider call, and removed the dead branch.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in