Skip to main content
Question

"You are currently subscribed to this" alert - two accounts get entitlement


Forum|alt.badge.img+1

My app uses custom user ids. When a user purchases a subscription, then logs out and back in with a different account, that doesn’t have the entitlement, a problem occurs. When pressing the purchase button, they get an alert that says “You are currently subscribed to this” and after pressing OK, the entitlement is also added to this account. 

Now I have two accounts with an entitlement, but only one subscription.

I’m very new to this, but isn’t there any way to prevent this?

Or at least a way to check if this app store account already has a subscription, so I can give the user the option to restore it, instead of purchasing?

4 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • May 18, 2023

Hey There! 

 

This seems to be an issue with restoring purchases which can sometimes get tricky with different situations. We have a useful document which goes over restoring purchases which can be found here: https://www.revenuecat.com/docs/restoring-purchases

 

Now I have two accounts with an entitlement, but only one subscription.

Here we recommend to use transfer or block restores, this will help keep track of that original entitlement with the proper user. 

 

or at least a way to check if this app store account already has a subscription, so I can give the user the option to restore it, instead of purchasing.

This is currently not a straight up feature and can be tricky, you probably will have to dip into StoreKit for that. I will go ahead and submit this as a feature request for the team though! 


Forum|alt.badge.img+1

I implemented restore purchases and it works correctly, the problem only seems to occur when repurchasing an item, that was previously purchased with a different user id. I found this apple forums article that mentions something like this: https://developer.apple.com/forums/thread/65210.


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • May 26, 2023

In the case above, it seems that the purchase likely transferred to the new user. You can check that in the customer history on the RevenueCat dashboard to verify. 


Forum|alt.badge.img+3
  • New Member
  • 2 replies
  • September 1, 2023
michal-bachraty-4bab42 wrote:

I implemented restore purchases and it works correctly, the problem only seems to occur when repurchasing an item, that was previously purchased with a different user id. I found this apple forums article that mentions something like this: https://developer.apple.com/forums/thread/65210.

How did you implement restore purchases? What did you add to your code?


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