<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "macOS: 12.3.0 -",
    "tvOS: 15.4.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKitTest",
  "identifier" : "/documentation/StoreKitTest/SKTestSession/shouldEnterBillingRetryOnRenewal",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit Test"
    ],
    "preciseIdentifier" : "c:objc(cs)SKTestSession(py)billingRetryOnRenewalEnabled"
  },
  "title" : "shouldEnterBillingRetryOnRenewal"
}
-->

# shouldEnterBillingRetryOnRenewal

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

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

## 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:)`](/documentation/StoreKitTest/SKTestSession/resolveIssueForTransaction(identifier:)) for the affected auto-renewable subscription.

The [`timeRate`](/documentation/StoreKitTest/SKTestSession/timeRate-swift.property) value determines the length of the billing retry period in the testing environment.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)