Windows 8.1 Validation of payments

Payments validation

To be protected from fraudulent transactions, we recommend you to use devtodev Anticheat service

Use this method, and devtodev will check the transaction validity with the payment platform, and the response will be returned to the application.

Call following method when Windows Store returns receipt:

DevToDev.Cheat.VerifyReceipt(string receipt, OnReceiptVerifyCallback callback);

The result can take one of the following values:

public enum ReceiptVerificationStatus {

In case of successful check call following the main SDK method:

DevToDev.SDK.RealPayment(string pOrderId, float pInAppPrice, string pProductId, string pInAppCurrencyISOCode);

If the transaction hasn’t passed verification, do not perform the Payment event.

But we do not recommend to use the result of devtodev anti-cheat verification as a condition for giving or not giving in-game currency or item purchased by a user!

Time cheats check

To check for time cheats call checkTime method every time when app is being launched

DevToDev.Cheat.CheckTime(OnTimeVerifyCallback callback);

Result can take one of following values:

public enum TimeVerificationStatus {
Secondary Methods
Checking the events