Ward stories · Sprint 159
The payment that came by link
What went wrong
The bill was ₹7,986 and the son had left his wallet at home. He had the money on his phone; the counter had a card machine that took four minutes and a UPI QR taped to the wall that paid into somebody's personal account and nobody knew which receipt it belonged to. This sprint makes the QR the hospital's own, tied to that bill, and makes the gateway's callback post the receipt — so the counter never keys in a reference again, the portal patient pays a bill at home, and the cashier's day-end shows online collections by gateway. The sandbox exists so that a demo, a trial or a test can walk the whole path — link, pay page, webhook, receipt, refund — without a merchant agreement.
What the screen does now
/billing/online-payments (the board), /setup/payments (accounts), the Take payment online panel on /billing/invoice/{id} and the admission's deposits tab, Pay on the portal bill, and the public /pay/{code}, /pay/{code}/return, /pay/sim/{code}.