Interface IDetailedStoreListener
Interface for receiving detailed purchase failure information in Unity IAP.
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 interface IDetailedStoreListener : IStoreListener
Methods
OnPurchaseFailed(Product, PurchaseFailureDescription)
A purchase failed with a detailed Failure Description. PurchaseFailureDescription contains : productId, PurchaseFailureReason and an error message
Declaration
void OnPurchaseFailed(Product product, PurchaseFailureDescription failureDescription)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product that was attempted to be purchased. |
PurchaseFailureDescription | failureDescription | The Purchase Failure Description. |