Contents

Product.PurchaseOption.SubscriptionRenewalBehavior.renewUntilNow

A subscription-renewal behavior in the testing environment that allows the subscription to renew continuously, up to the current date.

Declaration

case renewUntilNow

Discussion

Choose this option to create test cases that require an auto-renewable subscription that continues to renew. If you set the purchase date in purchaseDate(_:renewalBehavior:)to the past, the testing environment generates transactions for all the subscription renewals up to the current date.

See Also

Renewal behaviors in the testing environment