NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
Judge an inbound payment callback from logs, database rows and code: who sent it, whether each event is processed once, and what the application sends onward.
Invoice inv_5518 is a TEST invoice for 10000 pence. At 14:05:11 on Thursday 2027-07-15 Owen Adeyemi's team delivered one payment event for it to the test environment, and Ledgerline recorded payment pay_demo_71. Thirty seconds later the same event, evt_demo_9001, arrived again. Ledgerline recorded pay_demo_72. The invoice now shows 20000 pence received.
The second delivery is ordinary behaviour for a payment provider. Providers commonly retry when they are unsure that a delivery was received, and a network timeout is enough to cause it. A receiver therefore has to expect the same message twice and produce the effect once.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in