Cash on delivery, rails and the ledger
Cash at the door, or whatever replaces it in your market — UPI, Pix, M-Pesa, bKash, a payment link shown as a QR — settled only on the gateway's confirmation, and every movement on a double-entry ledger.
Cash, handed in and paid out
The rider collects exactly the parcel's COD — the app takes neither less nor more — and hands it in at the hub's cash desk, where it is counted against what the doors say. A shortage is owed by the rider and taken from their pay, with a receipt.
COD remittances pay each merchant what their customers paid, net of your charges, on their cycle (D+2, weekly…), with the bank's reference recorded.
Paying at the door without cash
A QR the customer's UPI or Pix app scans; an M-Pesa PIN prompt on the customer's phone; a payment page (Paystack, Flutterwave, Tap, Xendit, Mercado Pago, bKash, Stripe Checkout) shown on the rider's screen as a QR; or your own card terminal, matched by the office. A payment that does not come through leaves the door waiting — the rider tries again or takes cash.
One ledger, nothing edited in place
A parcel's charges, the cash a rider holds, what a merchant is owed, a rider's pay and what is withheld from it are all double-entry postings in the currency's smallest unit. Corrections are new entries. The COD report reconciles what the doors collected against what riders handed in and merchants were paid.
Read the amber pills. 8 newer rails declare integration: 'unverified-adapter' in code until they clear a real transaction against the live provider — and the console shows operators exactly that, never a fake "Connected". With no keys configured, every market falls back to cash and nothing crashes. That honesty is a feature you inherit.