InAppPurchasesValidationManager.ValidateInAppPurchaseReceipt
Syntax:
Parameters:
<Receipt> (required)
A receipt to be verified.
<VerificationKey> (optional)
Key to verify the receipt.
Public key of the Google Play application to verify the receipt on Android. Or, "secret key" to verify receipts on iOS.
<ReceiptFields> (optional)
Receipt fields.
Returned value:
The returned value shows the receipt authenticity with regard to the platform.
Additionally, the method returns extracted values of the receipt fields which facilitates its further verification.
Description:
- on Android - with the help of the transferred verification key verifies receipt's digital signature,
- on iOS - sends a request to the receipt verification service. The request is sent to the address https://buy.itunes.apple.com/verifyReceipt (at the test stage - https://sandbox.itunes.apple.com/verifyReceipt).
Availability: