Skip to main content
Solved

How to check that user canceled subscription

  • 25 September 2021
  • 2 replies
  • 1391 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

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

2 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 492 replies
  • 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
  • 4 replies
  • September 27, 2021

Hi, Thank you for your answer! 


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