QR Payment
v2.25
QR Payment
Sequence diagram
Process Flow
- ClientApp initiates a QR payment by calling rThirdPartyIntegration.requestMPOSIntegration(context, requestObject) with the appropriate action type.
- Merchant Scan QR Flow:
- MPOSApp shows the QR Scan Screen.
- Merchant scans the consumer-presented QR code.
- MPOSApp sends a QR payment request to MPOSPaymentServer.
- Merchant Present QR Flow:
- MPOSApp sends a QR generation request to MPOSPaymentServer.
- Server returns a QR image.
- MPOSApp displays the Merchant QR Code and waits for the consumer to scan.
- MPOSPaymentServer responds:
- If approved, Return Response Code: 100 to ClientApp via processResponseMPOSIntegration.
- If failed, Return error response to ClientApp using the same method.