
In this guide
The decisions and working steps ahead.
Follow one meal voucher from sale to refund
Choose who can see and change the record
What to put in the project brief
On this page
Start with a database if your company keeps the record and everyone involved accepts your decision when something goes wrong. Consider a blockchain when independent parties need to agree who owns something or whether it has been spent, and they need to do that even if one company stops answering. A customer asking for proof of a purchase can often get everything they need from a signed receipt.
Follow one meal voucher from sale to refund
Imagine you run a festival. A visitor buys a meal voucher and shows a QR code at a food stall. At closing time each stall wants to know how much you owe it.
Use a database for the first festival. Your company sells the voucher, contracts the stalls and pays them. The cashier scans the code, your system marks it used, and the next stall sees that status. If the cashier scans it twice, support can look up both attempts. A supervisor can record a correction, restore one meal to the visitor, and leave the original entry visible for whoever settles up that night.
Add a signed receipt if the stall needs its own evidence. Give the stall a downloadable receipt for each accepted voucher. A digital signature lets the stall check who issued the receipt and whether its contents have changed. That solves a disagreement about what the till recorded. A customer could still show the same signed voucher at two disconnected food stalls. Each cashier needs a way to check whether the other has already accepted it.
Price shared settlement when the business arrangement changes. Suppose three independent festival operators now sell vouchers that customers can transfer and spend at any of their events. Nobody wants a competitor to have the power to rewrite balances. The operators could appoint a common clearing service. They could also use a shared ledger where each stall checks the same redemption history and the rules reject a second spend. Ask the partners which decision they need to make independently and whether anyone will actually run or pay for the alternative.
Try a refund before you choose. A stall accepts a voucher just as it runs out of food. With a finalized on-chain redemption, the original entry stays in the history. Your design needs a second action, such as issuing a replacement voucher. Name the person allowed to issue it, the business that covers the meal and transaction fee, and the support team the visitor can reach from the food queue. If every merchant still phones the same festival office to approve every redemption and resolve every dispute, the database is a sensible place to start.
Choose who can see and change the record
A permissioned ledger can fit known partners who want several organizations to validate entries. Before commissioning one, have the operators agree who may join, who can change the rules, and how the voucher will work if an operator leaves. Compare the ongoing cost with paying an existing clearing service.
A public blockchain is worth testing if customers need to carry a voucher in their own wallet or independent merchants need to verify a transfer themselves. Public transactions can reveal activity over time. Keep customer names, email addresses, refund conversations and other personal details in a private system. A hybrid product can keep the voucher transfer on a public network while the festival runs its till, receipts and support desk in an ordinary database. NIST explains how shared ledgers retain transaction history and how participation rules differ. NIST’s blockchain technology overview
What to put in the project brief
Ask a supplier to demonstrate three things with the same voucher. Spend it once, try spending it again at a second stall, then give the visitor a replacement after a legitimate refund. Price the cashier’s time, the support work and recovery from a lost ticket or wallet alongside the software. Ask who can keep serving customers if your company’s website goes down.
If all three operations work under one trusted operator, a conventional application is a reasonable purchase. Explore Builderz web development services
If partners need independent verification or customers need to take the asset elsewhere, write that requirement into the brief. Then compare networks against the wallets your customers use and the costs your partners would bear. Compare blockchain networks · Explore Solana development services

