Skip to main content
Question

How do you check getPurchaserInfo in the web

  • 20 April 2022
  • 1 reply
  • 88 views

Forum|alt.badge.img+2

I just started trying out RevenueCat today and I want some clarification about not being able to use an SDK for the web, hence not able to get `getPurchaseInfo` of a user to check what subscription the user is on. What would be the best way to do this?

I have a cross platform app built with capacitor for android, ios and also for web.

I am working on adding app purchases and stripe for web.

I realized that I cannot use the Ionic Capacitor sdk on the web. The error message says `cordova_not_available`, which makes sense.

 

So would this “plan checking”, have to be done on my backend side, where my backend does an API request to RevenueCat backend and my backend sends this information to the web client? Then, why not do it this way on the mobile app?

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • April 22, 2022

Hi @Sihoon 

The best way to check subscription status on the web is to actually use our GET /subscribers endpoint


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