nepalqr
· PHP test bench
Codec runs server-side in PHP. Handles EMVCo merchant QRs (NepalQR / Fonepay) and JSON wallet QRs (eSewa). Image reading & QR drawing stay in the browser, offline.
1 · Source payload
Merchant QR payload (EMVCo string or wallet JSON/link)
▶ Scan camera
⬆ Upload QR image
Decode
Stop
Camera needs https or localhost. Upload works anywhere.
2 · Inject amount
Amount (NPR)
Purpose / remark — tag 62.08 (EMVCo only)
Inject & re-seal
Keep static
Strip to static
EMVCo → sets tag 54 + re-seals CRC. JSON (eSewa) → sets the amount field inside the JSON.
Decoded
Load a payload to begin.
Rendered QR
⬇ Download PNG
Decode or inject to render a QR.
Inspect
—
Result payload
—