docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IStoreCallback

    Callback interface for IStores.

    Namespace: UnityEngine.Purchasing.Extension
    Assembly: solution.dll
    Syntax
    public interface IStoreCallback

    Properties

    Name Description
    products

    For querying product information.

    useTransactionLog

    Stores may opt to disable Unity IAP's transaction log if they offer a robust transaction system of their own (e.g. Apple).

    The default value is 'true'.

    Methods

    Name Description
    OnAllPurchasesRetrieved(List<Product>)

    Inform Unity Purchasing of all active purchases.

    OnProductsRetrieved(List<ProductDescription>)

    Complete setup by providing a list of available products, complete with metadata and any associated purchase receipts and transaction IDs.

    Any previously unseen purchases will be completed by the PurchasingManager.

    OnPurchaseFailed(PurchaseFailureDescription)

    Notify a failed purchase with associated details.

    OnPurchaseSucceeded(string, string, string)

    Inform Unity Purchasing of a purchase.

    OnSetupFailed(InitializationFailureReason)

    Purchasing unavailable.

    OnSetupFailed(InitializationFailureReason, string)

    Purchasing unavailable.

    Extension Methods

    StoreCallbackExtensionMethods.FindProductById(IStoreCallback, string)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023