Testing In-App purchases ask me from old sandbox user

Hi everyone:

I am trying to test my In-App purchases.

I have created about 20 users to test and deleted them from AppStoreConnect.

I create a new user, I log in on the physical device with the new user sandbox, and when I start the application from Xcode it is asking me for the password of an old user that I had deleted.

It does not detect the new user who is logged in as a sandbox user on the device and shows me all the transactions of old purchases of another user.

It is frustrating, someone knows how it can be solved to test purchases in my application.

Thank you


Replies

You may have one of two issues.


The app itself is currently loaded and 'signed' by that test user's account. Delete the app and reinstall from Xcode.


That test user made a purchase and you never called finishTransactions. That is known as 'the endless loop' problem. Be thankful you have only a few such unfinished transactions - imagine having hundreds. Ignore them.