On This Page
Check Transaction Status Using the showSummary Method
showSummary
MethodTo 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.
- Use theshowSummarymethod to open the Summary screen.let summary = await mposUi.showSummary(forID: "transactionIdentifier")
- 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) }
- To view the full transaction details, access thetransactionobject.