Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourYellow
titlefor review

Approver

Alpar Szotyori (Unlicensed)

Supported QR codes

Table of Contents

...

Some invoices have a QR code that allows the user to get the payment data just by scanning it from the camera screen. Scanning and processing happen automatically. The SDK utilizes the QR code scanning capability of Google ML Kit to extract payment data from QR codes, enabling the detection of payment information. When a supported QR code is detected with valid payment data, the white camera frame turns green with the message that the QR code is detected. If the QR code doesn’t have a supported payment format, the white camera frame turns yellow with the message that the QR code is not supported. Payment information extraction starts immediately after the supported QR code is successfully scanned. The extractions are returned in the result of the CameraActivity.

Note

If you use a custom networking implementation, send the QR code data to our API and only use the extractions returned by the CameraActivity.

Reading payment data from QR codes on the device is the first part of payment data extraction. The second part is sending the QR code data to our API which handles the extraction logic.

Supported QR codes

...

Enable QR code scanning

QR code scanning is available on devices running Android with Google Play Services installed. To enable this feature, pass true to GiniBank.setCaptureConfiguration(context, CaptureConfiguration(qrCodeScanningEnabled = )).

...