We are testing sync mechanism of REST API (PLAY_STORE, SANDBOX). We found that if a renewal webhook is not sent, and when we GET https://api.revenuecat.com/v1/subscribers/{app_user_id}, the same renewal webhook notificaiton is sent immediately. I can’t find any information about whether delayed webhooks would be sent after calling REST API. Is this coincidence or a normal behavior of RevenueCat?
Solved
Are delayed webhook notification sent immediately after calling REST API?

Best answer by MarcosC
Hi
We don’t have any mechanism to delay webhooks. We send them as soon as we identify that there was an event (in this case a renewal).
The best way to keep things up to date with Google is configuring Real Time notifications (https://www.revenuecat.com/docs/google-server-notifications) - This way, we get notified every time there was a change in google and we can emit our events. If that is not configured, we have our own internal logic to try to keep things up to date, but there might be some delays.
Hope this helps
This post has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.