Simple IAP System  5.0
Public Member Functions | List of all members
ReceiptValidatorService

Remote IAP receipt verification on PlayFab's servers. Only supported on purchase. More...

Inheritance diagram for ReceiptValidatorService:
ReceiptValidator

Public Member Functions

override bool CanValidate ()
 Overriding the base method to only trigger on PlayFab supported platforms. More...
 
override void Validate (Product p=null)
 Overriding the base method for calling a web request and passing in the product purchased. Since PlayFab needs a user for validating receipts, it is also checked if the user is logged in already. If not, device login is called as well. More...
 
void OnValidationResult (PlayFabResultCommon result)
 Callback from PlayFab when the receipt validation has been successful. Products will be granted and transactions confirmed. Mirror PlayFabStore-OnPurchaseSucceeded More...
 
void OnValidationError (PlayFabError error)
 Callback from PlayFab when the receipt validation has failed. The transaction will be confirmed, altough no products will be granted. More...
 
- Public Member Functions inherited from ReceiptValidator
virtual void Validate (string receipt)
 Verification for unified receipts i.e. Apple App Store. More...
 

Detailed Description

Remote IAP receipt verification on PlayFab's servers. Only supported on purchase.

Member Function Documentation

override bool CanValidate ( )
virtual

Overriding the base method to only trigger on PlayFab supported platforms.

Reimplemented from ReceiptValidator.

void OnValidationError ( PlayFabError  error)

Callback from PlayFab when the receipt validation has failed. The transaction will be confirmed, altough no products will be granted.

void OnValidationResult ( PlayFabResultCommon  result)

Callback from PlayFab when the receipt validation has been successful. Products will be granted and transactions confirmed. Mirror PlayFabStore-OnPurchaseSucceeded

override void Validate ( Product  p = null)
virtual

Overriding the base method for calling a web request and passing in the product purchased. Since PlayFab needs a user for validating receipts, it is also checked if the user is logged in already. If not, device login is called as well.

Reimplemented from ReceiptValidator.


The documentation for this class was generated from the following file: