Contents

isInBillingRetry

A Boolean value that indicates whether an auto-renewable subscription is in the billing retry period.

Declaration

let isInBillingRetry: Bool

Mentioned in

Discussion

This field indicates whether Apple is attempting to automatically renew an expired subscription. If a subscription expires due to a billing issue, a value of true indicates that Apple is still trying to renew the subscription. If the subscription is in a billing grace period, the optional gracePeriodExpirationDate contains a date.

Use the isInBillingRetry value along with expirationReason for more insight, as the following table shows:

Values

Description

Isinbillingretry is false, [Image] Expirationreason Swift.property is nil

The auto-renewable subscription is active and not in a billing retry period. [Image] The subscription is entitled to service.

Isinbillingretry is true, [Image] Expirationreason Swift.property is Billingerror, [Image] Graceperiodexpirationdate has a date

The auto-renewable subscription is in a billing grace period. [Image] The subscription is entitled to service until the date in Graceperiodexpirationdate.

Isinbillingretry is true, [Image] Expirationreason Swift.property is Billingerror, [Image] Graceperiodexpirationdate is nil

The auto-renewable subscription is in a billing retry period. [Image] The subscription is not entitled to service.

Isinbillingretry is false, [Image] Expirationreason Swift.property is Billingerror

The auto-renewable subscription expired and billing retry wasn’t able to recover the subscription. [Image] The subscription is not entitled to service.

See Also

Getting billing status