On This Page
Email a Customer Receipt
Use this information to email the receipt for a previous transaction to a customer.
Follow these steps to email a customer receipt.
- Use thesendEmailReceiptmethod to start the flow for emailing a receipt.let email = await mposUi.sendEmailReceipt(forID: "transactionIdentifier")
- After the emailing activity is completed, get the results of the activity.switch email { case .success: print("Operation completed.") case .cancelByUser: print("Operation canceled.") case .error(let developerInfo): print("Operation failed. Info: %@", developerInfo) }