Skip to main content
Solved

Android/iOS subscription trial webhook events

  • 23 May 2022
  • 1 reply
  • 121 views

Forum|alt.badge.img+1

Hiya,

 

I’m looking to add trials to my existing in-app subscriptions, but had some questions regarding the webhook events. I noticed that when starting a trial in the sandbox, the INITIAL_PURCHASE event is triggered, which is great. I was wondering:

  • If the user continues with the trial and the trial automatically converts to a paying subscription, is another webhook event sent? We have a trial status against users on our API, so we would be looking to update this status based on the data that comes from the webhook. Would the RENEWAL event be sent here?
  • If the user cancels the trial, am I correct in saying the the CANCELLATION webhook event is triggered?

Thanks in advance,

Joe

Best answer by ryan

Hey @Joe Birch that’s correct! A RENEWAL webhook would be sent for trial conversions, and a CANCELLATION webhook would be sent if someone unsubscribes. Note that the trial may still be active when the CANCELLATION webhook is received. 

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

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • May 23, 2022

Hey @Joe Birch that’s correct! A RENEWAL webhook would be sent for trial conversions, and a CANCELLATION webhook would be sent if someone unsubscribes. Note that the trial may still be active when the CANCELLATION webhook is received. 


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