There are two transactionIdentifiers - the one that comes with the particular purchase and the one in the purchase receipt. Any call to updatedTransactions, including the call when you originally purchase the IAP, has a transaction.transactionIdentifier that is always unique. When you originally purchase an IAP or when you repurchase an IAP for free or when you restore an IAP the receipt will also contain the unique transaction_id of the original purchase transaction.transactionIdentifier.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: