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, "restoreCompleted"
once restore() call is finished restoring purchases, "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.
errorType
— A string representing the type of error that occurred when the transaction state is "failed"
.
errorString
— A more descriptive error message (string) when the transaction state is "failed"
.