QR Payment

Sequence diagram

Process Flow

  1. ClientApp initiates a QR payment by calling rThirdPartyIntegration.requestMPOSIntegration(context, requestObject) with the appropriate action type.
  2. 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.
  3. 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.
  4. MPOSPaymentServer responds:
    • If approved, Return Response Code: 100 to ClientApp via processResponseMPOSIntegration.
    • If failed, Return error response to ClientApp using the same method.