A delivery report that could never say failed
Not one failed message in four months of reports. That was the clue.
For owners and operations leads at appointment-based service businesses, and the teams that build their booking software.
A customer agreed a price and a date and never heard back, and every screen said he had been told. A car-services business we are related to confirms bookings by WhatsApp. A confirmation failed nine seconds after it was sent and the system kept it as sent. In four months the delivery report never recorded a single failure.
- Automotive services
- Booking platform with WhatsApp confirmations
- Clients
- Money
- Reputation

What was at risk
A customer who agreed a price and a date and heard nothing
A confirmation failed nine seconds after sending and was kept as sent. The customer never heard back, while every screen said he had been told.
Bookings that quietly lose the customer
Of the confirmations stored as sent, nobody can say how many arrived, because the evidence only existed in log retention. Each one that did not is a job at risk of a no-show or a lost sale.
A report nobody could trust
For four months the status column could only say sent or delivered. A report that cannot show failure cannot be used to find one.
Standards and rules in play
- The provider's status vocabularyThe messaging provider's status names are group-prefixed. The report path compared bare group names, so every failure branch was dead while the delivered branches worked.
- One rule in one placeThe send path already read the status group correctly. The report path held a second, wrong copy of the same rule.
Customer contact details are personal data under GDPR, and messaging providers publish status rules that an integration must match exactly. This page describes testing, not a compliance audit.
How we tested it
- Test level
- System integration testing: the booking service, the messaging provider's status reports and the stored booking record, checked together.
- Test types
- Functional; confirmation and regression testing: four new tests failed against the old mapping and pass after the fix.
- Test basis
- The rule that a failed message must show as failed, and the provider's documented status vocabulary.
- TechniqueState transition testingA message moves from sent to delivered or to failed. The failed transition could never fire, because its branch compared the wrong name.
- TechniqueError guessingIn production the status column held only two of its five possible values. The absence of failed was the clue.
Terms as in the ISTQB CTFL 4.0 glossary.
What we found, and what it costs
A failed confirmation was stored as sent
What it costs youThe customer is not told, the business believes they were, and nobody finds out until the customer complains.
The delivery report could not record a failure at all
What it costs youFour months of data cannot answer how many confirmations were lost. That cannot now be reconstructed.
The status rule existed twice and the report copy was wrong
What it costs youTwo copies of one rule drift apart; this one drifted into a silent failure.
The fix was proved with four new tests that fail against the old mapping and pass after it.
What changed
The report now reads the same status group as the send path, so failed, pending and read states are recorded. How many of the earlier confirmations were lost cannot be recovered.
What to check in your own product
- Confirm a failed send can be stored as failed, not kept as sent.The customer is not told, the business believes they were, and nobody finds out until the customer complains.
- Compare the status names your provider sends with the ones your code matches.The report path compared bare group names, so every failure branch was dead while the delivered branches worked.
- Check the report and the send path read the status through one rule.Two copies of one rule drift apart; this one drifted into a silent failure.
Can your system record that a message failed?
We check that failure states exist in your data, not only that messages go out. The first month is a trial.