Hello,
I would like to understand the possible end-user journey when a subscription transitions into the DID_FAIL_TO_RENEW state.
During this period—when the App Store continues to retry billing for up to 60 days, or until the user resolves the billing issue or cancels the subscription is the user allowed to purchase the same subscription again?
If so, my understanding is that this would follow a resubscribe flow, rather than an initial purchase flow. Could you please confirm and provide further details on how this scenario is expected to behave?
You can learn more about the different App Store Server Notifications types in the docs (https://developer.apple.com/documentation/appstoreservernotifications/notificationtype), for DID_FAIL_TO_RENEW specifically:
A notification type that, along with its subtype, indicates that the subscription failed to renew due to a billing issue. The subscription enters the billing retry period. If the subtype is GRACE_PERIOD, continue to provide service through the grace period. If the subtype is empty, the subscription isn’t in a grace period and you can stop providing the subscription service. Inform the customer that there may be an issue with their billing information. The App Store continues to retry billing for 60 days, or until the customer resolves their billing issue or cancels their subscription, whichever comes first.
A user shouldn't be able to purchase any new subscription until the billing issues on the account are solved. If a user solves the issues, and the grace period is still active, your server should receive a notification of type DID_RENEW with the specific BILLING_RECOVERY subtype.