Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseThe various reasons a purchase can fail.
See Also: IStoreListener.OnPurchaseFailed.
PurchasingUnavailable | The system purchasing feature is unavailable. |
ExistingPurchasePending | A purchase was already in progress when a new purchase was requested. |
ProductUnavailable | The product is not available to purchase on the store. |
SignatureInvalid | Signature validation of the purchase's receipt failed. |
UserCancelled | The user opted to cancel rather than proceed with the purchase. |
PaymentDeclined | There was a problem with the payment. |
Unknown | A catch-all for unrecognized purchase problems. |