Skip to main content
Solved

Duplicate webhook call


Forum|alt.badge.img+2

the story: I was integrated in-app purchase directly with apple, but sometimes i got duplicate transactions, i don't know why so i switched to using RevenueCat. Below is the problem i got when using RevenueCat.

the context: customer 46611 made a purchase with package1 but the webhook was duplicated. the first webhook request was called to handle package1, the second one was called with package4 info

note: the second transaction was created before using RevenueCat SDK. my event type is Non renewing purchase

question: Why do duplicate webhooks happen, and how can I avoid them?

 

Best answer by wes_clark

Hi! As our documentation on historical events mentions, for non-renewable products, we send events for all purchases made within the past 30 days, so these webhook events are expected. 

View original
Did this post help you find an answer to your question?

3 replies

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 263 replies
  • Answer
  • March 12, 2025

Hi! As our documentation on historical events mentions, for non-renewable products, we send events for all purchases made within the past 30 days, so these webhook events are expected. 


Forum|alt.badge.img+2
  • Author
  • New Member
  • 1 reply
  • March 13, 2025
wes_clark wrote:

Hi! As our documentation on historical events mentions, for non-renewable products, we send events for all purchases made within the past 30 days, so these webhook events are expected. 

Oh, thank you, but is there any way to stop calling events for the past purchases? Because the users have been topped up successfully, I don’t want to call the event twice.


wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 263 replies
  • March 17, 2025

You’re welcome. We do not currently have a way to stop these events for past purchases from being sent, however I would be happy to share this feature suggestion internally for the rest of the team to take a look at. 


Reply


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