docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.Purchasing.Security

    Classes

    AppleInAppPurchaseReceipt

    The details of an individual purchase.

    AppleReceipt

    An Apple receipt as defined here: https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ReceiptFields.html#//apple_ref/doc/uid/TP40010573-CH106-SW1

    AppleReceiptParser

    This class with parse the Apple receipt data received in byte[] into a AppleReceipt object Note: when building for non-Apple platforms, this will not execute code.

    AppleValidator

    This class will validate the Apple receipt is signed with the correct certificate. Note: when building for non-Apple platforms, this will not execute code.

    CrossPlatformValidator

    Stub cross-platform receipt validator class for platforms not supported by this feature. Will always throw exceptions if used.

    GooglePlayReceipt

    A GooglePlay purchase receipt

    IAPSecurityException

    A base exception for IAP Security issues.

    InvalidSignatureException

    An exception for an invalid IAP Security signature.

    Obfuscator

    This class will deobfuscate the tangled signature used for client-side receipt validation obfuscation. Note: when building for platforms that do not support this feature, this will not execute code.

    Interfaces

    IPurchaseReceipt

    Represents a parsed purchase receipt from a store.

    Enums

    GooglePurchaseState

    The state of the GooglePlay purchase.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)