Skip to main content
Question

Programmatically set entitlements for one-time purchase or workaround

  • October 25, 2022
  • 1 reply
  • 350 views

Forum|alt.badge.img+1

Our company is working on healthcare educational software that allows users to pay for multiple years via Stripe. While this is not the norm in software, it is somewhat normal with healthcare and educational software. From what I can tell, RevenueCat does not allow entitlement or subscription modification of any kind, nor does it allow manual assignment of entitlements (outside of a one-year promotional entitlement) via the API.

Is there any way to programmatically grant/modify a user’s entitlement with RevenueCat, or expire a user’s entitlement via the API?

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • November 8, 2022

Hey @David Hicks,

The stores don’t allow developers to modify subscriptions in this way - but promotional entitlements are just about the closest we can get right now. These aren’t related to store transactions in any way, and are a RevenueCat-specific feature to allow for easy granting/revoking of various time lengths.

In this case, I’d recommend storing the “years” on your end, and keep granting promotional entitlements to the users as needed. It would take a bit of work, but you should be able to take advantage of our API from your server: https://www.revenuecat.com/reference/grant-a-promotional-entitlement 


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