Solved

Remove entitlement for non-renewable purchuse

  • 9 January 2023
  • 5 replies
  • 164 views

Badge +2

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

5 replies

Userlevel 3
Badge +8

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

Thanks a lot Ryan 
It helped me to resolve my issue

Badge +2

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? 

 

Hi @Roman Herman, I’m just wondering if you figured out whether the alert above was showing due to the sandbox?

Badge +2

Hi @ali-35eede it was either sandbox or misconfiguration from my side

Reply