docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TransactionManager

    This class contains methods to process virtual transactions and in-app purchases.

    Inheritance
    object
    TransactionManager
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public static class TransactionManager

    Properties

    Name Description
    currentIap

    This is a Transaction that is currently in progress, recently initiated by the user.

    isInitialized

    Returns true after TransactionManager has been successfully initialized with a data layer.

    purchasingAdapterIsInitialized

    Returns true if the optional purchasing adapter has finished initializing.

    Methods

    Name Description
    BeginTransaction(BaseTransaction, List<string>)

    Process a transaction.

    IsIapProductOwned(string)

    Determine if specified Product Id is owned by the player.

    Events

    Name Description
    purchasingAdapterInitializeFailed

    Invoked after the purchasing adapter reports failing to initialize.

    purchasingAdapterInitializeSucceeded

    Invoked after the purchasing adapter reports successfully being initialized.

    transactionFailed

    Invoked after a transaction fails.

    transactionInitiated

    Invoked as soon as a valid transaction is initiated.

    transactionProgressed

    Invoked after every time the progress number is increased on a transaction's Deferred<TResult>.

    transactionSucceeded

    Invoked after a transaction has succeeded at all levels.

    In This Article
    Back to top
    Copyright © 2024 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)