93
votes

I have an app in the App Store and I want to test in-app purchases. I followed the steps described on the Apple website but I'm facing some problems.

When I try to log in in the iTunes in my application or in Settings/iTunes & App Stores, I receive the error:

iTunes account creation not allowed.

This Apple ID cannot be used with the iTunes Store at this time. Please try again later

I searched the internet but I found nothing about this. It seems like I am the first to encounter this kind of error.

itunes account creation not allowed

6
I just got this error too! Any ideas?simonthumper
Are you testing on the Simulator or on an actual device?GlennRay
You can see the gsm operator, then it's a real device, a iPhone 6S.Silviu
I ran into the same problem just a minute ago. Used to work 3 months ago when I was doing the same stuff. Apple might be testing something themselves, off to check on the developer forums ...Stanislav Dvoychenko

6 Answers

106
votes

Looks like Apple has this poorly documented. Basically, you shouldn't log in with your sandbox user from that screen. Log in when actually prompted by your test IAP.

Source: Unable to log in with sandbox test users on device

47
votes

I just had the same problem. Here's how I solved it:

  1. Don't try to sign in Settings > iTunes & App Stores
  2. Log out of iTunes & App Stores (make sure you're not logged into any account)
  3. Just open the app you're trying to test
  4. Your app will promt you to sign in
  5. Enter your credentials for your sandbox test account

Et voilà! You're done. Worked for me. I hope it works for you.

6
votes

For those who are still facing an issue, here is the solution: From settings main screen, select "iTunes & App Store", as seen in the picture

enter image description here

now scroll to bottom and you will find your previous apple is still there, sign out of that, see picture for reference, and now when doing in app purchase, it will ask for both apple id and password, use your sandbox tester apple id and password there.

enter image description here

3
votes

I had this issue. I tried changing existing Sandbox tester account password and tried to login on device...but didn't worked.

Even iPhone device restart didn't worked [last option that most developer follows ;-) ]

I thought it takes time to update this newly created Sandbox testing on DB. So left the login option as it is on device

Now, after launching app that contains In App purchase. Press on button that is responsible for In App purchase. This will prompt for Apple credentials. Enter the Sandbox tester credentials here.

Voila this worked for me!

2
votes

This has changed... again. Here's how to fix it in 2020:

0) On your test device, go to Settings.

1) Click your account name at the the top, the one with "Apple ID, iCloud, iTunes & App Store" under it.

2) Click "iTunes & App Store"

3) Scroll all the way to the bottom and find the option: "SANDBOX ACCOUNT". It will have defaulted to your AppleID. Tap it and sign out.

4) Tap "Sign In" under SANDBOX ACCOUNT.

5) Add your Sand Box Account credentials. You will probably have to have verified your email address before this will work.

0
votes

The top answer is correct, but if you're still having the issue:

Make sure that the app you're trying to log into is a development app installed with Xcode. You'll get the same error if your version was installed from the App Store.

(I got confused because I have 5 versions of almost the same app.)