Skip to main content
Question

Instant entitlement revoke if user opted out of FREE TRIAL auto renewal

  • 16 December 2023
  • 2 replies
  • 57 views

Hi,
Is there any way to Instant entitlement revoke a user that opted out of FREE TRIAL auto renewal, instead of letting him finish all the free trial period ?
Seems like most of users (especially on android), do it & when you use paid services in the backend, it’s really not a fun thing to deal with 😅 !!

Hey @Imad!

I totally understand where you’re coming from - however, RevenueCat doesn’t support revoking entitlements upon trial opt-out, because the stores indicate that the user should still have access during that period. By restricting their access when they still have an active trial, it would likely be a violation of the store’s rules, unfortunately. That being said, if you want to risk it, you can look at the unsubscribe_detected_at property of a subscription to determine if a user has opted out of their trial or subscription.


you can look at the unsubscribe_detected_at property of a subscription to determine if a user has opted out of their trial or subscription.

 

@cody

Based on my observation (from calling https://api.revenuecat.com/v1/subscribers/USER_ID throughout the subscription lifecyce), unsubscribe_detected_at is set after the entitlement has expired (the value is later than the entitlement’s expires_date), NOT during the “winding down period”.

In my opinion this is not very useful. Because, well, it’s already expired.

I need to update my UI accordingly right after the user cancels subscription (but still active). How do I do that?


Reply