Skip to main content

Hi All,

I have built a Flutter app and used the purchases_flutter package. In the official release environment on the Google Play Store, one of my users encountered an error with the following steps:

  1. The user made a purchase before logging in (Purchases.login) with AppUserID = $RCAnonymousID:....
  2. After that, the user logged into the system, and their AppUserID was assigned as their system userId.
  3. The user attempted to restore the purchase (Purchases.restorePurchases), but it did not work. The app could not retrieve the previous purchase information ($RCAnonymousID) and sync it with the current user (userId in the system). The Google Store account used for the purchase is still active and retains the purchase history.

I checked the Google Store console, and the purchase history is recorded there. When checking the Order ID in the RevenueCat console, and the system recorded the payment with AppUserID = $RCAnonymousID, which was created at the time of the initial purchase.

 

For this issue, I would like to ask:

  • What could be the possible causes of this issue?
  • How can it be resolved?

Since this is an urgent matter, I hope the team can review and respond as soon as possible.

Thank you!

Just posting to say that I have the same /similar issue in my live app (only on Android). Several users have purchased a free trial, yet somehow lose entitlement access and restoring purchase doesnt work, even though the subscription is still active. How can this happen? 

I tried to reproduce the issue locally, but couldn’t.

Could this be related to anonymous user account and transfers not working?

 

Would also appreciate support!


Hi I have also problem with restore subscription. Have a user with the following device 

Device Brand:Google

Model: Pixel 8a

Operating System Version:Android 15

Check if the user has active subscription on play store on the same device that restore action will happen → true

Don’t know why it’s not working. In user logs I see that no subscription is given to the user. Check localy on my older devices and it’s ok.

 

Expected behaviour. Restore button should transfer user subscription from google play to revenuecat. 

 


Hi ​@huunam-d09e3a, sorry for the delay here. Can you please share with me the version of our SDK you are on and full debug logs of what you are seeing? And are you seeing this on a specific version of Android? As a current workaround, can you try to manually transfer purchases via the customer history as shown here? https://www.revenuecat.com/docs/dashboard-and-metrics/customer-history/active-entitlements#transferring-entitlements

@lo-cool ​@proactivebit-1fef14 can you both please share the same information as above? 


Hi, I have a similar issue on android. it’s a Flutter app without auth.
Some users that have changed devices or reinitialized their device, complains that when they hit the restorePurchase button in the app, nothing is restored.
But they are on the same google account with valid proof of purchase, receipts, that they emailed me. 

The transfer to a new app id, is not happening… 

Could you please tell us why it’s not working and how to fix ?

Thanks

Edit: I have updated to the last version of the sdk, but still not working for my users


Reply