---
title: hasPurchaseIssue
framework: storekittest
role: symbol
role_heading: Instance Property
path: storekittest/sktesttransaction/haspurchaseissue
---

# hasPurchaseIssue

A Boolean value that indicates whether you resolve this transaction using the test framework functions.

## Declaration

```swift
var hasPurchaseIssue: Bool { get }
```

## Discussion

Discussion To test interrupted purchases, first set interruptedPurchasesEnabled to true before making a purchase. If hasPurchaseIssue value is true, then resolve the identified transaction by calling resolveIssueForTransaction(identifier:).

## See Also

### Getting Test Environment States

- [autoRenewingEnabled](storekittest/sktesttransaction/autorenewingenabled.md)
- [isPendingPriceIncreaseConsent](storekittest/sktesttransaction/ispendingpriceincreaseconsent.md)
- [pendingAskToBuyConfirmation](storekittest/sktesttransaction/pendingasktobuyconfirmation.md)
