Contents

autoRenewPreference

The product ID of the auto-renewable subscription that will automatically renew.

Declaration

let autoRenewPreference: String?

Discussion

This value is the product ID of the auto-renewable subscription that will renew after the current period expires. The value may be:

  • The same as currentProductID if the subscription will renew with the same product.

  • Another product ID value if the subscription will renew to a different product.

  • nil if the subscription won’t renew in the next period. This may occur for several reasons, including when the person disables auto-renew for the subscription, the subscription lapses due to a billing issue, or you increase the subscription price and the person doesn’t accept the increase.

See Also

Getting the renewal or expiration state