Make the environment visible in each result
A team runs five test batches in a sandbox and sees all its local status records arrive. This is useful evidence that the team can receive ordinary notifications in that environment. It says little about what happens after maintenance, a slow receiver or a production retry. Write the environment next to every result so one successful test cannot be mistaken for a blanket sign-off.
Trolley’s webhook reference says that automatic retries differ between production and sandbox. Production can retry eligible failed deliveries; sandbox does not automatically retry. The documentation also names response codes that do not trigger a retry. Instead of assuming all failures behave alike, design a local exercise around how the receiver should recover if a notification never arrives.
Build a small set of fictional observations
Start with an expected notification, a repeated delivery identifier, two distinct observations about the same payment, and an event that arrives later than expected. Use fixtures owned by the test team, with dummy identifiers and no account information. The listener should tell operators whether a record has been received, whether the resource state is verified, and when an observed state is only provisional.
At the end of each exercise, check the log count as well as the visible status. A screen may look right when the underlying observation table still contains duplicate entries. Next, write one test in which a notice is deliberately absent from the local fixture sequence. Document how an authorized read-based comparison would expose that gap; use a stubbed read in testing. None of this requires sending new money or contacting a real recipient. It does require a clear distinction between the system that keeps a history of events and the system that records current verified state.
Record what is still outside the test
A test that uses a copied event format is not proof that an external provider will always send events in that format. A successful delivery test does not verify the behavior of downstream accounting imports. Nor can it demonstrate that a live receiving institution has posted a credit. List those gaps alongside the test results instead of burying them in an appendix nobody reads.
In the fictional pilot, one failure test passes locally but has no agreed escalation owner. The result is recorded as technically passed and operationally not ready. That wording is accurate and actionable: engineering can keep the test result, while operations still needs to assign someone who can reconcile a missing event.
Finish the matrix with a date, environment, expected and observed outcome, recovery owner and evidence location. The decision maker should be able to tell at a glance which scenarios were simulated, which were actually observed, and what needs to be reviewed before any live rollout.
Read next
- Investigating a payout status that appears to go backwards
- A dry-run checklist for the first payout import