Server behavior of the purchase timing.

Hello,


I would like to know the purchase timing of subscription item.


For example, one user had purchased the subscription item from the app at 20th June.

Next purchase date is 20th July.


Then, if apple server is down and passed the expiration date(20th July), has this user's receipt been expire?


Please help to understand.

Thank you.

Answered by PBK in 146228022

For a non-renewing subscription - yes, the user's subscription has expired.


For an autorenewable - it is not clear whether the user turned off their autorenewing function or they did not. If they did not, then the next time the Apple servers become active they will receive a transaction and a receipt update (if the device made the pruchase or did a restoreCompletedTransaction). Apple servers are rarely down. If an app detects that the subscription has expired it can ask the user to update their subscription and execute a

SKReceiptRefreshRequest
. If it gets an error it explains to the user that the Apple servers are down and the receipt cannot be verified at that time.
Accepted Answer

For a non-renewing subscription - yes, the user's subscription has expired.


For an autorenewable - it is not clear whether the user turned off their autorenewing function or they did not. If they did not, then the next time the Apple servers become active they will receive a transaction and a receipt update (if the device made the pruchase or did a restoreCompletedTransaction). Apple servers are rarely down. If an app detects that the subscription has expired it can ask the user to update their subscription and execute a

SKReceiptRefreshRequest
. If it gets an error it explains to the user that the Apple servers are down and the receipt cannot be verified at that time.

Thank you very much for your reply.

I understood.

Server behavior of the purchase timing.
 
 
Q