Can two different users subscribe from the same device?
Best answer by tina 24 July 2021, 01:07
Since the 2 app user IDs are using the same underlying app store account, RevenueCat will recognize that the receipt is already in use by another subscriber and throw this RECEIPT_ALREADY_IN_USE error.
Copying the resolution for visibility:
The user will either need to log in as the App User Id that already owns the receipt or restore purchases to re-sync the receipt with their current account. We recommend checking out the 'Transfer purchases' restore behavior.
Thanks for your answer. I checked "Block restores" in RevenueCat settings. But I'm not getting an error in the test environment? Is this normal?
Are you restoring with RCAnonymousIDs? Two anonymous IDs should be aliased together.
I could not fully understand what you say. Users have both id(assigned by me) and RCAnonymousID.
Can you let me know your reproduction steps? e.g:
Can you also double check your app settings if you saved your changes when selecting the block restore option?
Yes, I checked. "Block restores" is checked.
I tried reproducing your steps in RevenueCat’s iOS sample app and I wasn’t able to reproduce your issue. I followed the same reproduction steps you described and when I tried restoring as the second logged in user, I received [Purchases] - ERROR: There is already another active subscriber using the same receipt.
[Purchases] - ERROR: There is already another active subscriber using the same receipt.
Can you try testing on a fresh sandbox account? You can also try testing with the sample app yourself, you would just need to change the constants in this file.
I have a quick question regarding this. If it is not possible for two accounts to buy from the same device, how come I’m able to do the following:
I get no error at all.
Thank you for your help in understanding this!
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.