Skip to main content
Solved

Restore Purchase - RevenueCat webHook

  • Jun 28, 2022 10:51 AM UTC
  • 3 replies
  • 981 views

Forum|alt.badge.img+1

So we get rid of all AppStore/PlayStore integration for processing payment and rely fully on RevenueCat webHook.

the main issue that we encounter so far is that when we have a restoreSubscription the RevenueCat webHook does't react also if user has a purchase already and he receive "You are currently subscribed to this" and press OK again the RevenueCat webHook does't react.

How can we manage this 2 scenarios ?

Best answer by ryan

Hey @Constantin! 

There’s no RevenueCat webhook for a “restore”. If the customer is seeing the message "You are currently subscribed to this" then that means you should have already received a purchase webhook. If you need to know when the Restore button was tapped you could send yourself and event from the device? 

View original
This post has been closed for comments

3 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • Jun 28, 2022 5:59 PM UTC

Hey @Constantin! 

There’s no RevenueCat webhook for a “restore”. If the customer is seeing the message "You are currently subscribed to this" then that means you should have already received a purchase webhook. If you need to know when the Restore button was tapped you could send yourself and event from the device? 


Forum|alt.badge.img+1
  • Author
  • New Member
  • Jul 4, 2022 8:23 AM UTC

yah that is what we did, if we somehow fail to process de hook, or id revenueCat fails to deliver, we added a server request to sync with revenueCat.

thanks


Forum|alt.badge.img+1
  • Author
  • New Member
  • Jul 4, 2022 8:24 AM UTC

yah that is what we did, if we somehow fail to process de hook, or id revenueCat fails to deliver, we added a server request to sync with revenueCat.