Skip to main content
Answer

How to migrate old subscriptions when i don't have complete data?

  • October 15, 2021
  • 2 replies
  • 311 views

Forum|alt.badge.img+4

Hey thanks for listening. I have been using Google play billing library since past 2 years and now switching to Revenue cat. I have few questions regarding migrating subscribers of my app.

 

So there are two types of subscribers 1. monthly and 2. annual subscribers. I have saved their data in firebase realtime database and nowhere else.


Your docs were really helpful in integrating the Purchase SDK of RevenueCat but what i am not able to understand is about migrating these active subscribers (around 20).

 

  1. Won’t the RevenueCat automatically be able to communicate with Google Play Servers and check if a user is premium user and active?
  2. If not and if i have to manually update the data (which is incomplete as i don’t know about the app_user_id) then what is the best possible way to handle this?

Best answer by sundeep

Hi @Rishabh Jain,

Have you checked out our Migrating Subscriptions doc yet? Could be useful to go over, there’s also a handy flowchart in there that walks you through different options: https://docs.revenuecat.com/docs/migrating-existing-subscriptions


It sounds like you don’t have too many users to migrate over, so if you don’t have very complete data in your own infrastructure, you could try client-side migration where you call syncPurchases if the subscription exists in your old system but not in RevenueCat:
https://docs.revenuecat.com/docs/migrating-existing-subscriptions#client-side-migration

This will create the user in RevenueCat and grant them the appropriate entitlements associated with their purchases.

This post has been closed for comments

2 replies

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • October 18, 2021

Hi @Rishabh Jain,

Have you checked out our Migrating Subscriptions doc yet? Could be useful to go over, there’s also a handy flowchart in there that walks you through different options: https://docs.revenuecat.com/docs/migrating-existing-subscriptions


It sounds like you don’t have too many users to migrate over, so if you don’t have very complete data in your own infrastructure, you could try client-side migration where you call syncPurchases if the subscription exists in your old system but not in RevenueCat:
https://docs.revenuecat.com/docs/migrating-existing-subscriptions#client-side-migration

This will create the user in RevenueCat and grant them the appropriate entitlements associated with their purchases.


Forum|alt.badge.img+4
  • New Member
  • April 27, 2022

Hi @Rishabh Jain,

Have you checked out our Migrating Subscriptions doc yet? Could be useful to go over, there’s also a handy flowchart in there that walks you through different options: https://docs.revenuecat.com/docs/migrating-existing-subscriptions


It sounds like you don’t have too many users to migrate over, so if you don’t have very complete data in your own infrastructure, you could try client-side migration where you call syncPurchases if the subscription exists in your old system but not in RevenueCat:
https://docs.revenuecat.com/docs/migrating-existing-subscriptions#client-side-migration

This will create the user in RevenueCat and grant them the appropriate entitlements associated with their purchases.

Hi there.

I have the same question, but I have about 100 users. I also have their tokens but not the app_user_id. 

The difference is that I’m also migrating from Java to Flutter, so it is complicated for me to understand the documentation.