Question

How to link purchase to Play Store or App Store id?

  • 10 February 2023
  • 1 reply
  • 29 views

Badge +2

I am using Revenue Cat in my flutter app but I want to link a purchase to the underlying Store id to avoid duplicate usage. I don’t have any login method in my app so I use the revenue cat anonymous id. How do I get access to the underlying store id?


1 reply

Userlevel 5
Badge +9

Hello!

Unfortunately there isn’t a specific store ID you can use for this because Apple and Google don’t provide one. But RevenueCat actually helps you here! You don’t need a login system to use RevenueCat. If a user tries to claim another purchase that another user already owns in RevenueCat, RevenueCat will transfer the purchase to the new user. That way only one user can have access to the purchase at a time. More info here: https://www.revenuecat.com/docs/restoring-purchases#transfer-purchases 

Reply