Type Table Event storeTransaction Revision Release 2022.3683 Keywords Apple, IAP, in-app purchases, storeTransaction, transaction See also storeTransaction store.*
This table contains the following
state
— A string indicating the state of the transaction. This will be "purchased"
in the case of a normal purchase, "restored"
for a restored purchase, "cancelled"
for a cancelled purchase, or "failed"
in case of an error.
receipt
— A
identifier
— The unique string identifier for the transaction.
productIdentifier
— A string representing the product identifier associated with the transaction.
date
— A string representing the date when the transaction occurred, returned in GMT time and YYYY/MM/DD
locale format.
originalReceipt
— A hexadecimal string representing the unique receipt from the original purchase. This is primarily relevant in a case of a "restored"
transaction state.
originalIdentifier
— A string representing the unique transaction identifier from the original purchase. This is primarily relevant in a case of a "restored"
transaction state.
originalDate
— A string representing the date of the original purchase, returned in GMT time and YYYY/MM/DD
locale format. This is primarily relevant in a case of a "restored"
transaction state.
isError
— Boolean value indicating whether an error occurred. If this is true
, errorType
and errorString
will be strings stating the reason.
errorType
— A string representing the type of error that occurred if isError
is true
.
errorString
— A more descriptive error message (string) if isError
is true
.