Language: Java. The pull request has one bug. You get three tries to find the line, then a short debrief.
Some customers double-click "Pay", and two requests for the same order arrive together. Payment now takes a lock per order: the second request waits, finds the order already paid and does nothing. The service runs as a single instance, so a lock inside the JVM is enough for now.
Codetrap needs JavaScript: the code review happens in your browser.