After the following steps:
- User logs in to iTunes account
- User logs in to my app
- User purchases subscription through IAP
- User logs in with different iTunes account
If I change the subscription through IAP after these steps, I would get an error. That is fine but I have 2 questions:
- How does it know the account has been changed? Is it because the receipt of the new purchase does not agree with the previous receipt?
- I would like to prevent the error by blocking users from changing subscription plans if a different account is used. How can I know that a different account is used?
Thanks in advance.