12:04. A bottle of water, nothing else. The buyer taps his card against the vending machine and a tick appears on the screen. He reaches into the collection tray. Empty. He tries again, running his hand along the back. Then he calls support. “I’ve paid. Should I buy another one?” That is the decision in this fictional purchase. Telling him to pay again in haste could leave him with two purchases and nothing to drink.
Three people could tell this story
The payment provider can point to a transaction and say “approved”. The customer can stand in front of the machine and say “nothing came out”. The support colleague needn’t contradict either of them. She does need a piece of information neither statement contains. What happened when this particular bottle was supposed to be dispensed?
On our imaginary support screen she opens a second line alongside the payment. The controller received a dispense command. A command is a wonderfully specific thing. It names an item and sets a process in motion. That makes it easy to read it as a report that the job is done. Suppose you text a colleague “Please open the door” and your phone says “delivered”. Someone looking over your shoulder could reasonably conclude that the message reached the other phone. They would need to look somewhere else to establish whether the door was open.
| Observation | What it supports | What remains open |
|---|---|---|
| Payment processing | The provider is handling the transaction. | Its final payment decision. |
| Payment approved | This transaction received authorisation. | Final settlement and product delivery. |
| Dispense requested | The controller received an instruction. | Whether the mechanism completed it. |
| Item movement detected | A matching signal reached this sensor. | Whether the buyer received the correct item. |
- PaymentApprovedThe provider authorised the payment.
- Dispense commandReceivedThe controller received an instruction.
- Dispense checkOpenThere is no dispense signal for this bottle.
A vending machine may have a further point of observation. A suitably equipped machine might report an item moving through a chute. It depends on the device. A sensor also sees the place where it is installed. How the bottle lands, whether it can be reached and who eventually picks it up are different questions. In our example there is no matching observation of the bottle moving. Diagnosing a mechanical jam from that gap would be as hasty as telling the buyer that everything went perfectly.
The other purchase at 12:04
A little further down the event list there is a successful dispense after all. The support colleague almost closes the case. The minute matches. So does the machine identifier. Only when she looks at the order reference does she notice that this line belongs to a second purchase. Sorting a machine’s sales by time works well enough for a daily overview. Settling a specific complaint turns on a detail that barely draws the eye in that view.
She follows the payment reference to the order and the order to the individual item. That also makes sense of a basket with more than one product. If someone pays for water and crisps together, one payment record can correspond to two dispense attempts. A successful signal for the crisps tells us something about the crisps. It leaves the question about the water wide open. A single tick beside the whole basket would have discarded that distinction before support even answered the phone.
Pause for a small thought experiment. A device loses its connection and later sends a message it has already delivered. There are now two genuine messages about the same item. Inferring two buyers would be as mistaken as merging two distinct purchases because they share a timestamp. CloudEvents describes one way to avoid double counting. The combination of event source and event ID identifies a particular event. Connecting that event to a purchase still requires an order and item reference. This is one way to design a log. It tells us nothing about which signals an individual Smartshop machine exposes.
What should the buyer do now?
The team can see authorisation and a dispense command for the bottle. Which reply can the available record support?
“Your bottle was dispensed.”
The command establishes that a dispense was requested. In this example there is no observation of the item moving.
“The payment was approved. I can see the dispense request. I’ll send the missing-bottle case for review.”
The first two statements match the evidence. Promise the review only when that route exists and the case is actually handed over.
“The refund is already in your account.”
There is no refund request in this example. Even confirmation from a payment provider would not give support a view of the buyer’s bank account.
“Payment fine, customer unhappy” would make a quick note for the support queue. It would also leave the next colleague to conduct the very same search. A useful handover sets the observations side by side. The provider approved this purchase. The bottle has a dispense command. The buyer reports an empty tray. What can be checked next depends on the machine and the operator’s actual review procedure. The colleague can tell the buyer the case has been passed on once she has taken that step.
This is where DigitAI would start curating training material for a support assistant. The team takes apart records that look very much alike. In one the signal belongs to the bottle, in another to the crisps, in a third to the next purchase. For each, the team identifies the claim that the record supports and a question that could move the case forward. Different purchases and references are kept back for evaluation. A system could earn credit for a neat summary and still fail the exercise for dismissing a buyer on the strength of someone else’s signal.
Smartshop publicly describes payments through MIPS and live reporting. Its product page says automatic refunds through chat are under validation. The next line in our purchase is therefore quite ordinary. “I can see that the payment was approved and the bottle was requested. I can’t yet confirm it was dispensed.” The customer can decide whether to buy another drink, knowing exactly which question still needs an answer about the first one.
