98

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

Pang
  • 9,564
  • 146
  • 81
  • 122
Silviu
  • 1,309
  • 1
  • 9
  • 20

6 Answers6

110

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

canzhiye
  • 1,185
  • 1
  • 7
  • 5
  • I have read already tried to log in from the app. I mentioned that in first post. – Silviu Jul 12 '16 at 10:39
  • For me log in from the app works. But from iTunes settings i get the mentioned issue. – FranticRock Sep 07 '16 at 15:59
  • Thank you, that worked for me. I fist though I had to log in in iCloud, but then I found out that iTunes Store and iCloud can have different accounts in settings, so I just logged out from iTunes Store to make it work. – Camilo Ortegón Mar 15 '17 at 20:51
  • But how can I then manage my Test-Purchases? I'd like to test the cancelation of an auto-renewing subscription... – Georg Jan 22 '18 at 10:33
  • Apple has everything poorly documented. This is how they write docs. – Duck Apr 07 '22 at 10:20
47

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.

A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
Etienne Juneau
  • 633
  • 5
  • 11
  • Wow that is crazy!! I would never have thought of this. I truly believed that I couldn't log in "at this time" and was planning to "try again later"! How long later are they planning to let me log in? Its been saying this for 18 months so far, maybe if I wait 2 years? 3 years? – mike nelson Feb 14 '18 at 11:04
  • not working for me. Still keep asking the itunes account again and again – Ben May 14 '19 at 11:40
  • 1
    But how do I install the app? I'm trying to log in to testflight and I'm getting this f***** error. – Dpedrinha Mar 16 '21 at 22:15
7

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

Abhinav Dobhal
  • 598
  • 7
  • 12
4

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.

DoomGoober
  • 1,533
  • 14
  • 20
3

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!

Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
0

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.)

now
  • 4,772
  • 2
  • 24
  • 26