transactionIdentifier
A string that uniquely identifies a successful payment transaction.
Declaration
var transactionIdentifier: String? { get }Discussion
The contents of this property are undefined except when transactionState is set to SKPaymentTransactionState.purchased or SKPaymentTransactionState.restored. The transactionIdentifier is a string that uniquely identifies an interaction between the user’s device and the App Store, such as a purchase or restore.
This value has the same format as the transaction’s transaction_id in the receipt; however, the values may not be the same.