New functionality
With this release of the iOS library, you can use three new methods to fetch data from previous transactions. These allow you to reprint a receipt, or confirm the final state of a transaction following a connection loss between the cash register and payment terminal.
These methods are:
fetchLastTransactionsDataWithCount- Fetches data for a specified number of transactions. Provide thecountparameter, specifying the number of transactions to fetch.fetchLastTransactionDataWithCompletion- Fetches data for the last completed transaction.fetchTransactionDataWithTenderReference- Fetches data for a specific transaction. Provide thetenderReferenceparameter, specifying the tender reference for the transaction.
These new methods replace fetchTransactions, which has been deprecated.
Fixed issue
In some cases additionalData was not returned when a transaction was completed. This has now been fixed.