Debug a Payment Service's Charge Flow Against Retries, Crashes and Timeouts

Quick Overview

A debugging exercise on a payment service that charges users through an external provider and then records the result. You find how caller retries, crashes and timeouts can double-charge a user or lose a payment, then restructure the flow. It tests idempotency, payment state machines and reconciliation of unknown outcomes.

Debug a Payment Service's Charge Flow Against Retries, Crashes and Timeouts

Company: Mercor

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: A debugging exercise on a payment service that charges users through an external provider and then records the result. You find how caller retries, crashes and timeouts can double-charge a user or lose a payment, then restructure the flow. It tests idempotency, payment state machines and reconciliation of unknown outcomes.

Read the full Mercor Software Engineer interview experience this question came from

Mercor logo
Mercor
Oct 4, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
6
0
Loading...