Skip to main content
Solved

RENEWAL webhook not triggered after an upgrade (App Store)

  • December 23, 2021
  • 1 reply
  • 149 views

Forum|alt.badge.img+1

Hello,

 

We have 3 auto-renewable subscription products setup with a 30 day free introductory offer and we just went live with RevenueCat :)

 

So there is a user who subscribed with the trial and upgraded after a few hours. We received the `PRODUCT_CHANGE` webhook with the correct `new_product_id`. However, we did not receive any webhook afterwards. We expected a `RENEWAL` webhook with the new product id as `product_id` as per the documentation here.

 

Our webhook listener simply listens to all events and then poll the RevenueCat api and update the database at our end for the `product_id` which was sent from the webhook. It is important for our server to be up-to-date as the entitlements are handled by our server.

 

Could someone let me know what can be done in a situation like this?

 

I did happen to see this but not very sure if they are related.

 

Thank you!

Best answer by sundeep

Hi @sha,

When the RENEWAL event triggers depends on whether the new product is an upgrade, crossgrade, downgrade: https://docs.revenuecat.com/docs/managing-subscriptions#app-store

Are you able to check how you’ve ordered the levels for your subscription group in App Store Connect to confirm the new product is a higher level (an upgrade) from the previous product? Otherwise, it’s possible a renewal wasn’t immediate if it’s a downgrade, or a crossgrade with different product durations (in these cases, renewals happen after the current period ends).

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

1 reply

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 138 replies
  • Answer
  • January 8, 2022

Hi @sha,

When the RENEWAL event triggers depends on whether the new product is an upgrade, crossgrade, downgrade: https://docs.revenuecat.com/docs/managing-subscriptions#app-store

Are you able to check how you’ve ordered the levels for your subscription group in App Store Connect to confirm the new product is a higher level (an upgrade) from the previous product? Otherwise, it’s possible a renewal wasn’t immediate if it’s a downgrade, or a crossgrade with different product durations (in these cases, renewals happen after the current period ends).


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