Skip to main content
Version: 5.7.0

VerifyMicrosoftReceipt

Verify Microsoft Receipt. On success, the player will be awarded the associated currencies.

ServiceOperation
productVERIFY_MICROSOFT_RECEIPT

Method Parameters

ParameterDescription
receiptReceipt XML

Usage

http://localhost:3000
string receipt = "Receipt XML";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.ProductService.VerifyMicrosoftReceipt(receipt, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"result": "OK"
}
}