Skip to main content
Solved

Should In-App purchases be in an entitlement?


Forum|alt.badge.img+4

Our app implements renewable subscriptions for Monthly and Annual. We are also implementing a “Day Pass” where users can purchase this and have access to locked content for 24 hours. The user can repurchase after it expires. We manage the expiration on our own servers.

I created the “Day Pass” products as in-app purchases and added them to their own entitlement in RevenueCat. After some thought, I think I shouldn’t have added them to an entitlement.

What’s the recommended setup?

Best answer by kaitlin

If you set up your Day Pass as a non-renewing subscription, then it is not unheard of to add it to an entitlement, but it’s important to note that the logic for expiration would need to be handled on your end - which it sounds like you are!

This is because Apple doesn’t provide an expiration date for non-renewing purchases, and so our system treats them more like consumable purchases, which unlock Entitlements for a “lifetime” (or relatively).

 

 

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

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • October 26, 2022

If you set up your Day Pass as a non-renewing subscription, then it is not unheard of to add it to an entitlement, but it’s important to note that the logic for expiration would need to be handled on your end - which it sounds like you are!

This is because Apple doesn’t provide an expiration date for non-renewing purchases, and so our system treats them more like consumable purchases, which unlock Entitlements for a “lifetime” (or relatively).

 

 


Forum|alt.badge.img+2
kaitlin wrote:

If you set up your Day Pass as a non-renewing subscription, then it is not unheard of to add it to an entitlement, but it’s important to note that the logic for expiration would need to be handled on your end - which it sounds like you are!

This is because Apple doesn’t provide an expiration date for non-renewing purchases, and so our system treats them more like consumable purchases, which unlock Entitlements for a “lifetime” (or relatively).

 

 

hey! i can set the expiration manually on my backend, but what about my iOS client? the SDK will keep telling me the user has “Pro” entitlement despite me wanting it to be expired after a day. How would i handle this on the client? would i need to always check the product_id and start_time when fetching CustomerInfo, and manually return false each time a user with a day pass uses my app?


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