Skip to main content
Question

Keep with original App User ID not throwing in sandbox

  • September 13, 2024
  • 1 reply
  • 75 views

Forum|alt.badge.img

Hi there, I have a project running and this is what is happening

  1. UserA logs in
  2. UserA subscribes to product X
  3. UserB logs in in the same device
  4. UserB tries to subscribe to product X - "You are currently subscribed to this"
  5. UserB upgrades to product Y - "You purchase was successful" - but UserB has no subscription
  6. UserA logs in and was subscribed to product Y

Is this sandbox only issue?

How can I verify if the current apple account has subscriptions to avoid UserB to upgrade UserA's plan?
Shouldn't UserB merged into UserA original account?

This post has been closed for comments

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 364 replies
  • September 17, 2024

Hi @viniciusborges23,

With the “Keep with original app user ID” behavior, we wouldn’t expect any merging or transferring between IDs when purchasing or restoring. 

I believe what you experienced here was a sandbox issue, as you said. In production, with your current behavior, if a different app user id attempts to make any changes to a purchase that was made under a different app user id, the RECEIPT_ALREADY_IN_USE error will be thrown.


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