On This Page
Check Transaction Status Using showSummary
showSummary
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.- Create the online payment service and callshowSummary(forID:)with the transaction identifier.// Throws MposUIReaderError.notActivated if device is not activated let online = try await reader.mposUIOnline() let summary = await online.showSummary(forID: "transactionIdentifier") switch summary { case .success(let transaction): print("Transaction status: \(transaction.identifier)") case .error(let developerInfo): print("Failed to retrieve summary. Info: \(developerInfo)") }