Solved

Remove entitlement for non-renewable purchuse

  • 9 January 2023
  • 3 replies
  • 28 views

Badge

I have following scenario in my app: 

Each file creation should be an in-app purchase. 
I have an entitlement “create a new file” 

User buys this entitlements 
User creates a new file 
After that I want to take this entitlement back from the user so that next time they will need to purchase “new file” again
Is that possible or I have a wrong understanding of how it works? 

Thanks!

icon

Best answer by Ryan Glanz 11 January 2023, 18:21

View original

3 replies

Badge +1

Hi Roman,

 

Yeah, that’s certainly possible. It would be similar to a “consumable” purchase, which we do support (https://www.revenuecat.com/docs/non-subscriptions).

 

In this case, it would probably be better you to not attach the purchase to an entitlement, and rather use custom logic in your app to unlock the file.

 

We typically don’t allow developers to manually revoke entitlements from users; rather they expire or the purchase is refunded. This protects users from getting their entitlements cancelled despite paying for them.

Badge

Thanks a lot Ryan 
It helped me to resolve my issue

Badge

Hi @Ryan Glanz Maybe I Specify one. more thing 

I have implemented this consumable purchase according to the guide and it works. 
One thing I can’t figure out: when I “buy” this consumable again I see an alert “you have already purchased this offering do you want to get it one more time for free” 

Is it because of the sandbox or I’m dong something wrong? 

 

Reply