App Store Server Notifications not always sent to my server

We have implemented an auto-renewing subscription as an in-app-purchase for our iOS application. We are consuming the App Store Server Notifications for subscription transactions in order to update the user's account (and thereby maintain their 'Pro' access to our application). Sometimes those notifications never come to our server, and there is no evidence that they were even attempted to be sent to us.

We have had some users report to our Customer Support team that they have successfully made a purchase of the subscription, but that they were not granted 'Pro' access.

For the large majority of users this is not happening and all is well, but for some users the notifications just never come from the App Store Server API.

We keep a record of all notifications that we receive from the App Store, and for these users we never received the "SUBSCRIBED" event. We have checked the Notification History API and there are no reports of any failure to send notifications to our server.

We have checked our server logs for any sign of failure to receive incoming web requests, and there is no sign of these missing notifications. We have verified that our server supports ATS.

We are keeping the transaction.originalID for all our users who are subscribed to the auto-renewing subscription. We have used this value to do some lookups into the transaction history and subscription status of the users who are being affected. Here is an example of our findings from those lookups:

  • From the transaction history endpoint, we received an error: “Invalid transaction identifier”.

  • From the subscription status endpoint, we received a response with the information for that user's active, valid subscription.

  • We never received any App Store Server Notifications about this user’s subscription, and the transaction history API tells us it is an invalid transaction ID.

We believe that the fact that the subscription status API returned the information showing that this user’s subscription is active and valid, and that the notification history API shows no sign of a failure to send us notifications about that subscription, shows that the App Store Server API never attempted to send us any notification for this user’s subscription. The same is true for a significant number of other users of our service.

Can anyone help us determine what is going on, and how to best support these customers? It seems as though there was never an attempt to send these notifications to our server, but our users provide proof that they do in fact have an active subscription, for which they have paid (receipt email from Apple with a valid order ID).

Answered by seanodonnell in 769735022

We are also experiencing this same issue again, recently. Yesterday I filed 2 separate feedback assistant issues for 2 fresh cases: FB13299168 and FB13299461.

Hello, are you able to provide us some specific original transaction id’s where you believe a notification was never sent? We’d love to check this out! feedbackassistant.apple.com

once filed please reply with the fb#

We are seeing the same thing.

Hi @seanodonnell, did you got any replies? we seem to be suffering from this exact same thing. We have a workaround for users, since the app also contact us directly when a purchase is made, but not having the notification is really frustrating as we depend on it for various things.

An issue @seanodonnell reported was resolved on 4/27. @All - Please let us know if you see any other issues.

We are experiencing exactly the same problem.

Example: originalTransactionId: 440001375662781 initial buy date: 2023-03-03

We used Get notification history API to load notification history for particular originalTransactionId and renewals (DID_RENEW) notifications returned. Only INITIAL_BUY missing.

It means notification doesn't exist on App Store server (No network issue at all).

It's rarely but very frustrating. We don't know which notifications are missing. Please help.

Bump. We are also experiencing this issue, over the last week this has happened 3 times.

@App Store Commerce Engineer

We are experiencing this issue too.

For example, transactionId: 340001337244726, initial buy date: 2023-10-19

I have confirmed there is no notifications created by Get Notification History end point.

Please investigate the cause of this problem.

Thank you.

Accepted Answer

We are also experiencing this same issue again, recently. Yesterday I filed 2 separate feedback assistant issues for 2 fresh cases: FB13299168 and FB13299461.

App Store Server Notifications not always sent to my server
 
 
Q