Represents the data that is used to verify purchases.
The property source helps you to determine the method to verify purchases. Different source of purchase has different methods of verifying purchases.
For details on how to verify your purchase on iOS,
you can refer to Apple's document about
About Receipt Validation.
On Android, all purchase information should also be verified manually. See
Verify a purchase.
It is preferable to verify purchases using a server with serverVerificationData.
If the platform is iOS, it is possible the data can be null or your validation of this data turns out invalid. When this happens,
Call InAppPurchaseConnection.refreshPurchaseVerificationData to get a new PurchaseVerificationData object. And then you can
validate the receipt data again using one of the methods mentioned in
You should never use any purchase data until verified.
- hashCode → int
The hash code for this object. [...]
- localVerificationData → String
The data used for local verification. [...]
- runtimeType → Type
A representation of the runtime type of the object.
- serverVerificationData → String
The data used for server verification. [...]
- source → IAPSource
Indicates the source of the purchase.