FILTER BY TAG

Check Transaction Status Using the
showSummary
Method

To submit a check transaction status request, you must have the
transactionIdentifier
value for the transaction that you want to check.
Use the check transaction status request to obtain response data for a transaction that was lost or timed out. When you send the request using the
showSummary
method, the transaction details are shown on the Summary screen.
Follow these steps to request a check transaction status.
  1. Use the
    showSummary
    method to open the Summary screen.
    let summary = await mposUi.showSummary(forID: "transactionIdentifier")
  2. After the activity is complete, you can view the results of the activity.
    switch summary { case .success(let transaction): print("Summary screen was shown for transaction with id %@", transaction.identifier) case .failure(let error): print("Error checking transaction status or displaying summary screen: %@", error.localizedDescription) }
  3. To view the full transaction details, access the
    transaction
    object.