I'm implementing server-side application that manages subscriptions for IOS application. To control account state(subscription is active or not) on the backend I'm using Apple Server-to-Server Notifications
Documentation saying:
Respond to Server-to-Server Notifications Your server should send an HTTP status code to indicate whether the server-to-server notification post succeeded:
Send HTTP 200 if the post was successful. Your server is not required to return a data value.
Send HTTP 50x or 40x to have the App Store retry the notification if the post was not successful. The App Store makes several attempts to retry the notification over a period of time but eventually stops after continued failed attempts.
But it is not clear which exactly retry policy apple following in case of server error on my side. I'm looking for the answer to the following questions
- How many retries apple will do?
- With which interval between retries?