Method OnPurchaseFailed
OnPurchaseFailed(Product, PurchaseFailureReason)
A purchase failed with specified reason.
Declaration
[Obsolete("Use IDetailedStoreListener.OnPurchaseFailed for more detailed callback.", false)]
void OnPurchaseFailed(Product product, PurchaseFailureReason failureReason)
Parameters
| Type | Name | Description |
|---|---|---|
| Product | product | The product that was attempted to be purchased. |
| PurchaseFailureReason | failureReason | The failure reason. |