QuizzifyTech

Bug library › Backend testing

Backend testing · Order events

Order 5521 shipped before the payment was captured

P2 · MajorExperiencedOrder events

Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.

Spot this bug

The clue

Put the events in the order they should happen.

Steps to reproduce

  1. Place an order with a slow payment
  2. Read the event log for the order

Expected result

created → payment.captured → shipped → delivered

Actual result

shipped at 10:02, payment captured only at 10:05

Why it matters

This is a major (P2) bug. The feature still works in part, but users get wrong information or a broken step, and many will notice. It should be fixed before or soon after release.

Testing tip

Check that steps happen in the allowed order. If payment had failed, the parcel would already be on its way.

How to find bugs like this

Backend bugs hide behind a screen that looks fine: jobs that run twice, retries that never stop, stale caches, reports that say success when nothing happened. When you test, try these checks:

  • Check that each action happens exactly once.
  • Look at logs, outboxes and job history, not just the screen.
  • Test what happens on a slow network, a retry and a double click.
  • Compare cached values with the source of truth.

More Backend testing bugs

See all 158 bugs