I spent time designing how a checkout system should recover from failure. Then I started wondering: what if the real problem was a transaction that succeeded?