A string that uniquely identifies a successful payment transaction.
- iOS 3.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.2+Beta
The contents of this property are undefined except when
transaction is set to
transaction 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 in the receipt; however, the values may not be the same.