Skip to main content
Question

"Transfer if no active subscriptions" still transfers active subscription when an anonymous user id restores purchase

  • February 6, 2025
  • 2 replies
  • 30 views

Forum|alt.badge.img+6

I’m using “Transfer if no active subscriptions”, however, I’ve noticed if an anonymous user id calls `restorePurchase`, the anonymous can always transfer the subscriptions, no matter the subscription is active or not.

Here’s the complete flow where the transfer happens even if there are active subscriptions:

  1. On device 1, user logs in and purchase subscription
  2. On device 2 with the same Google Play account signed in, anonymous user is not logged in, but taps the “restore purchase” button
  3. The subscription is now transferred to anonymous user 

However, in the following flow the “Transfer if no active subscriptions” works as expected:

  1. On device 1, user A logs in and purchase subscription
  2. On device 2 with the same Google Play account signed in, user B logs in and tap “restore purchase” button
  3. The restore failed due to `ReceiptAlreadyInUseError`

In case anyone’s curious, the reason why we have a `restorePurchase` button even if user is signed out is that we support consumables.

This post has been closed for comments

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 401 replies
  • February 10, 2025

Hey ​@william_O,

Are you able to open a support ticket with us through app.revenuecat.com/settings/support? The first scenario you described does not sound correct, and I’d like to look into it further if you’re able to open a ticket and provide your test app user ids, both the original one and the anonymous users that the subscription has been transferred to. 

 

Thanks!


Forum|alt.badge.img+6
  • Author
  • Member
  • 8 replies
  • February 14, 2025

@kaitlin Thanks. I’ve opened a support ticket #53362.


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