Sportland · Scandiweb · Backend engineer, incident owner · 2026
The orders nobody knew were unpaid
Finding a silent revenue leak after an ERP outage
The problem
An upstream ERP outage left a set of orders that were never invoiced. Nothing looked broken. The site kept trading, no error page, no alert. It was revenue quietly not collected, which is the worst shape a bug can take: it does not announce itself and it does not stop.
What I did
I traced it to how the integration behaved when the ERP was unavailable at the invoicing step. The code assumed an answer would always come. I shipped a fix so the flow degrades safely instead of dropping the order, then wrote and ran a repair over the records already affected, and reported the finding and the remediation to the client and the product managers myself.
The outcome
Revenue that would have been lost was recovered, and the failure mode cannot recur silently. It is the clearest example of how I think about third-party systems: assume they will fail, and design so that failure is loud and recoverable.
Built with
- PHP
- Magento 2
- MySQL
- ERP integration