Table of Contents

Interface IIapPurchaseVerificator

Namespace
Titipi.MocaLib

Implement this interface to plug in a custom server-side receipt validator. Set the implementation via SetPurchaseVerificator(IIapPurchaseVerificator).

public interface IIapPurchaseVerificator

Methods

ValidatePurchase(Product, string, Action<bool>, Action<string>)

Validates a purchase asynchronously. product is the purchased product. receipt is the raw Unity IAP receipt string (order.Info.Receipt). Call onValidated with true if valid, or onError with an error code from IapVerificationError on failure.