Payment

Sequence diagram

Process Flow

  1. ClientApp initiates a transaction by calling ThirdPartyIntegration.requestMPOSIntegration() with the appropriate action type (ActionTypePayment or ActionTypeUndefined).
  2. MPOSApp displays the payment screen.
  3. MPOSApp sends the transaction request to MPOSPaymentServer.
  4. MPOSPaymentServer responds:
    • If approved: return [Response Code:100] to ClientApp via processResponseMPOSIntegration.
    • If failed: return error response to ClientApp using the same method.