To make an in-app purchase I'm creating an SKPayment with the product id and adding it to [SKPaymentQueue defaultQueue]
If the itunes user is signed in, this works as expected. An alert pops up for the user to input his password and then the transaction prodceeds as usual
If however there is no user currently logged in, I get alert window that asks if I want to "Use Existing Apple ID" or "Create New Apple ID"
I press "Use Existing" and input the user name and password of my test user and press "OK", 1 second pass and then the same popup that asks "Use Existing..." or "Create New..." appears again. I press "Use Existing", again, write the user and password and only after that the transaction continues with the "Confirm Your In-App Purchase" alert.
Why does the sign-in alert appear twice?
Can it be just something wrong with my test user?