Solved

Android/iOS subscription trial webhook events

  • 23 May 2022
  • 1 reply
  • 86 views

Badge +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

icon

Best answer by ryan 24 May 2022, 01:34

View original

1 reply

Userlevel 5
Badge +9

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