Interface IIapPurchaseVerificator
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.
productis the purchased product.receiptis the raw Unity IAP receipt string (order.Info.Receipt). CallonValidatedwithtrueif valid, oronErrorwith an error code from IapVerificationError on failure.