Class PurchaseFailedEventArgs
A purchase that failed including the product under purchase, the reason for the failure and any additional information.
Inherited Members
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 |