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?
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.
Thanks a lot Ryan It helped me to resolve my issue
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?
Hi @ali-35eede it was either sandbox or misconfiguration from my side