Skip to main content
Question

Access customer entitlements on a the web without web purchases


Forum|alt.badge.img

We are building an Capacitor app that has both a mobile and and web components. For now, we are only planning on allowing customers to buy the subscriptions on mobile apps, but still need to provide the subscription level benefits to them when they are on the web. Each user has a user id.

 

What options do we have for getting the customer info with their current entitlements on the web? Currently I dont have any web projects only ios and android.

 

Thanks

This post has been closed for comments

2 replies

Forum|alt.badge.img+1
  • RevenueCat Staff
  • 6 replies
  • March 27, 2025

Hi ​@bayroad,

You have 2 options;
1. Using the Web Billing SDK in the web app’s front-end. Even if the purchase is not executed through Web Billing you will be able to get all the entitlements granted from another platform using the getCustomerInfo method
2. Using the Rest API in your backend and then returning the entitlements to your web app.

Here you can find a general guide on Getting the Subscription Status  for a customer.

My suggestion would be to use the Rest API to avoid having the check in the front-end only, especially if you are gating valuable content with the entitlements.

Let me know if I can help you further!


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • March 27, 2025

Thanks ​@Nicola . I’ll take a look at these!


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