Reputation: 3956
I made a test account for testing IAP, and purchased successfully, but after that, every time I open the app it would pop up a window to let me sign in with that apple id.
How to avoid that?
Upvotes: 0
Views: 132
Reputation: 622
I had the same problem.make sure that you call
[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
for all three states of the transactions: SKPaymentTransactionStatePurchased, SKPaymentTransactionStateRestored, SKPaymentTransactionStateFailed.
Situation: you had registered some [email protected] and tested IAP with it and not finished some transaction. Then you registered [email protected]. So, if you open app (be wanting to test it with [email protected]), you will see dialog with input credentials for [email protected]! Even if you delete [email protected] user from ITC - this dialog will appeared again, until you input correct credentials for your old user ([email protected]). After this dialog willn't appear! It is working for me
Upvotes: 3