I'm working with In App Purchase. I'm trying to get all my transactions from AppleStore. After request, I catch an error code:
request error Error Domain=SKErrorDomain Code=0 “Operation could not be completed. (SKErrorDomain error 0.)”
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
I have not even enter my user credentials. How to fix it? Whats a problem? Anybody know? PS: I'm testing it on iPad and iPhone devices - not Simulator. Thanx!
You must logout from your iTunes account in the settings app. Then try again and use a test account. You can create them in the iTunes connect page.