Skip to main content
Question

RENEWAL event unexpected flow

  • December 30, 2024
  • 1 reply
  • 11 views

Forum|alt.badge.img+6

I have a question regarding a RENEWAL event. Specifically, for Android, when the webhook receives a type=RENEWAL, when should we process it and consider it a real resume of subscription to where entitlements should be granted? 
Currently according to the documentation this RENEWAL event should only happen after a SUBSCRIPTION_PAUSED event for Android. Is this correct or can the previous event be of another type? if so, what other types should be supported.


Specific example​​​​​​ app user ID: ​JNhjegTrnBTZIbsYLzZkHPmroOl1

Firstly, Customer History does not even show an event that happened today for RENEWAL:


But as you can see from my database of logs for each webhook event I got this:
 

 

Second, is this order expected? After Expiration we would get a renewal or an initial?
Should we proceed with granting entitlements?

This post has been closed for comments

1 reply

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 281 replies
  • January 7, 2025

Hi! Thank you for the thorough evidence. I believe that this may just be a situation of the ordering of events in the Customer History view. If you click on the Renewal event, is the event timestamp of the event December 30th? The events are ordered by the purchase date in the Customer History so while the renewal may have happened/been detected on the 30th, the store itself will have treated the purchase date to be the 23rd. I would also be happy to look further on my end to double check. Could you specify which project this is for? 


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