Simple IAP System
4.3
|
Remote IAP receipt verification on PlayFab's servers. Only supported on purchase. More...
Public Member Functions | |
ReceiptValidatorService () | |
Constructor for setting a default value. More... | |
override bool | shouldValidate (VerificationType verificationType) |
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. 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... | |
![]() | |
virtual void | Validate (string receipt) |
Verification for unified receipts i.e. Apple App Store. More... | |
Additional Inherited Members | |
![]() | |
VerificationType | verificationType = VerificationType.none |
Selected type for IAP verification. More... | |
Remote IAP receipt verification on PlayFab's servers. Only supported on purchase.
Constructor for setting a default value.
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.
|
virtual |
Overriding the base method to only trigger on PlayFab supported platforms.
Reimplemented from ReceiptValidator.
|
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.