docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IStorePurchaseConfirmCallback

    A public interface for a class that handles callbacks for confirming purchases made.

    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public interface IStorePurchaseConfirmCallback

    Methods

    OnConfirmOrderFailed(FailedOrder)

    Notify a failed order confirmation with associated details.

    Declaration
    void OnConfirmOrderFailed(FailedOrder failedOrder)
    Parameters
    Type Name Description
    FailedOrder failedOrder

    The object detailing the purchase failure

    OnConfirmOrderSucceeded(string)

    Inform Unity Purchasing of a confirmed order.

    Declaration
    void OnConfirmOrderSucceeded(string transactionId)
    Parameters
    Type Name Description
    string transactionId

    The transaction id of the confirmed order

    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)