Skip to main content
Solved

Are delayed webhook notification sent immediately after calling REST API?


Forum|alt.badge.img+1

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? 

Best answer by MarcosC

Hi @jacklin 

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

View original
Did this post help you find an answer to your question?
This post has been closed for comments

2 replies

MarcosC
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 167 replies
  • Answer
  • July 19, 2023

Hi @jacklin 

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


Forum|alt.badge.img+1
  • Author
  • New Member
  • 1 reply
  • July 26, 2023

I finally found that our staging project is not receiving RTDN, so webhook notifications delayed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings