Skip to content

Scan element

The scan element shows a short code and a QR code. The customer scans it or types the code in their app and pays there. See Scan to pay for the code.

Demo ยท no money moves
Payment ends

The demo customer pays about six seconds after the code shows.
Events
    StateWhat the customer seesYour page
    LoadedA placeholder until Payready
    Code shownThe short code and QR codeconfirmScanPayment() returns scan_code
    Paid, declinedYour page shows the resultwaitForTransaction()

    The QR image in this demo is a blank stand-in; the short code is real text.

    Reference: ScanElement.