A unique identifier for a transaction such as a purchase, restore, or renewal.
- App Store Receipts 1.0+
This value has the same format as the transaction’s
transaction property; however, the values may not be the same.
You can use this value to:
Manage subscribers in your account database. Store the
productfor each transaction, as a best practice to store transaction records for each customer. App Store generates a new value for
transactionevery time the subscription automatically renews or is restored on a new device.
Differentiate a purchase transaction from a restore or a renewal transaction. In a purchase transaction, the
transactionalways matches the
original. For subscriptions, it indicates the first subscription purchase. For a restore or renewal, the
transactiondoes not match the
original. If a user restores or renews the same purchase multiple times, each restore or renewal has a different