Skip to main content
Answer

Android/iOS subscription trial webhook events

  • May 23, 2022
  • 1 reply
  • 169 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. 

This post has been closed for comments

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 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.