---
title: shouldEnterBillingRetryOnRenewal
framework: storekittest
role: symbol
role_heading: Instance Property
path: storekittest/sktestsession/shouldenterbillingretryonrenewal
---

# shouldEnterBillingRetryOnRenewal

A Boolean value that indicates whether the testing environment enters a billing retry state when an auto-renewable subscription renews.

## Declaration

```swift
var shouldEnterBillingRetryOnRenewal: Bool { get set }
```

## Discussion

Discussion The default value is false. While this property is enabled, all renewals of auto-renewable subscriptions in the test environment fail due to a simulated billing issue and enter a billing retry state. To resolve the simulated billing issue, call resolveIssueForTransaction(identifier:) for the affected auto-renewable subscription. The timeRate value determines the length of the billing retry period in the testing environment.

## See Also

### Testing billing retry and grace period

- [billingGracePeriodIsEnabled](storekittest/sktestsession/billinggraceperiodisenabled.md)
- [resolveIssueForTransaction(identifier:)](storekittest/sktestsession/resolveissuefortransaction(identifier:).md)
