Skip to main content
Answer

How to check that user canceled subscription

  • September 25, 2021
  • 4 replies
  • 1680 views

Forum|alt.badge.img+2

Hi,

How can I check if a user has canceled a subscription or trial?

If a user has canceled a subscription, his status is active until its expiration date. It's the same with the trial period. Is it possible to determine it was canceled, but at the same time it is still valid?

 

Thanks 

Best answer by cody

Hey @Dmitriy!

You can check the ‘unsubscribe detected at’ property of an entitlement to determine if a user has unsubscribed to their subscription. If the property is not null, the user has unsubscribed.

You can read more about this in our documentation here: https://docs.revenuecat.com/docs/purchaserinfo#get-entitlement-information

This post has been closed for comments

4 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • September 27, 2021

Hey @Dmitriy!

You can check the ‘unsubscribe detected at’ property of an entitlement to determine if a user has unsubscribed to their subscription. If the property is not null, the user has unsubscribed.

You can read more about this in our documentation here: https://docs.revenuecat.com/docs/purchaserinfo#get-entitlement-information


Forum|alt.badge.img+2
  • Author
  • New Member
  • September 27, 2021

Hi, Thank you for your answer! 


Hi,

How can I check if a user has canceled a subscription or trial?

If a user has canceled a subscription, his status is active until its expiration date. It's the same with the trial period. Is it possible to determine it was canceled, but at the same time it is still valid?

 

Thanks 

the link is broken


Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • March 11, 2025

@alfredo-2b6880 see the “Entitlement Reference” here: https://www.revenuecat.com/docs/customers/customer-info#reference