Language: TypeScript. The pull request has one bug. You get three tries to find the line, then a short debrief.
Customers buy credits through the payment provider. When a payment succeeds, the provider calls our webhook: we check its signature, add the credits to the account and email a PDF receipt.
Codetrap needs JavaScript: the code review happens in your browser.