Type Table Event storeTransaction Revision Release 2024.3703 Keywords Google, 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 or restored purchase, "refunded"
for a refunded purchase, "cancelled"
for a cancelled purchase, "consumed"
for a consumed purchase, or "failed"
in case of an error.
receipt
— A INAPP_PURCHASE_DATA
returned by Google.
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, represented in Unix epoch milliseconds.
packageName
— A string representing the application package from which the purchase originated.
token
— A token (string) that uniquely identifies a purchase for a given item and user pair.
originalJson
— A JSON-formatted string representation of the transaction.
signature
— A digital signature string that can be used to verify the purchase. This is the INAPP_DATA_SIGNATURE
returned by Google.
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
.