docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PurchaseFailedEventArgs

    A purchase that failed including the product under purchase, the reason for the failure and any additional information.

    Inheritance
    object
    PurchaseFailedEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    [Obsolete("This API is deprecated. Please upgrade to the new APIs introduced in IAP v5. For more information, visit the IAP manual: https://docs.unity.com/ugs/en-us/manual/iap/manual/upgrade-to-iap-v5", false)]
    public class PurchaseFailedEventArgs

    Properties

    message

    A message containing details about the failure.

    Declaration
    public string message { get; }
    Property Value
    Type Description
    string

    purchasedProduct

    The product which failed to be purchased.

    Declaration
    public Product purchasedProduct { get; }
    Property Value
    Type Description
    Product

    reason

    The reason for the failure.

    Declaration
    public PurchaseFailureReason reason { get; }
    Property Value
    Type Description
    PurchaseFailureReason
    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)