---
title: Product.PurchaseError.purchaseNotAllowed
framework: storekit
role: symbol
role_heading: Case
path: storekit/product/purchaseerror/purchasenotallowed
---

# Product.PurchaseError.purchaseNotAllowed

The user isn’t allowed to make purchases.

## Declaration

```swift
case purchaseNotAllowed
```

## See Also

### Getting Purchase Error Codes

- [Product.PurchaseError.invalidOfferIdentifier](storekit/product/purchaseerror/invalidofferidentifier.md)
- [Product.PurchaseError.productUnavailable](storekit/product/purchaseerror/productunavailable.md)
- [Product.PurchaseError.ineligibleForOffer](storekit/product/purchaseerror/ineligibleforoffer.md)
- [Product.PurchaseError.invalidOfferPrice](storekit/product/purchaseerror/invalidofferprice.md)
- [Product.PurchaseError.invalidOfferSignature](storekit/product/purchaseerror/invalidoffersignature.md)
- [Product.PurchaseError.invalidQuantity](storekit/product/purchaseerror/invalidquantity.md)
- [Product.PurchaseError.missingOfferParameters](storekit/product/purchaseerror/missingofferparameters.md)
