In app purchase - server to server notifications

Hello

In my application we have implemented in app purchase and integrated server to server notification.
While testing this functionality using sandbox environment the confirmation notification in server side is received with 3-5 minute delay although on the mobile side the confirmation is received immediately.

So my question is:
Is this delay caused by sandbox environment or will we have the same issue in production(after publishing app in AppStore)?

Looking forward for your soonest reply,
Best regards
Levon Gharibyan


Hey how do you implement the backend to handle the notification ?
Hello Levon,

Were you able to find a solution to this issue, I am having the same issue?

I am using Firebase cloud functions to receive the endpoint. After a successful purchase the receipt is delivered client side within seconds but my server doesn't receive the call for up to 4 minutes. Meanwhile the user is left waiting for their subscription to be approved.

The request is being received and processed successfully by my server within a couple seconds, but the delay in receiving the event from Apple is unacceptable.

I have only tested this in the sandbox environment. Did you have these issues in production?

Thanks,
Jon Paul
In app purchase - server to server notifications
 
 
Q