Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Verification Email requested for Sandbox Tester User ID

I'm having a problem getting the Test User sandbox IDs I've created in iTunesConnect to purchase a non-consumable product. I wait a day after I create the IDs before trying to use them. First, I make sure no ID is signed in according to Settings/iTunes & App Store on the device. Then, when I run my app in Simulator on a real device and click my Buy button and sign on with a Test User ID, I get a popup saying the ID must be verified and that a verification email will be sent if I click the Verify button. Now, I know I should not verify a Test ID (because according to this SO question/answer, that action turns the ID into an actual account). I'm also given the option to Ignore the verification -- if I click that, nothing happens -- I'd expect the purchase process to continue, but it doesn't. Yes, of course, I'm running the simulation on an actual device. And, though I start out with no ID entered in Settings for iTunes/App Store, when I go back after receiving the above, my own Apple ID now appears as signed-in! Could this have something to do with my activating Apple's Two-Factor Authentication? I just turned that on last week.

like image 338
GlennRay Avatar asked Jan 08 '17 01:01

GlennRay


People also ask

What is a sandbox Apple ID?

The Apple sandbox environment lets you test in-app purchases on devices using product information set up in App Store Connect.

How do I remove sandbox ID from Iphone?

Try to go Settings -> iTunes & App Store scroll down to bottom and find SANDBOX ACCOUNT and clear data here.

What is Sandbox testing in iOS?

Overview. Use the Apple sandbox environment to test your implementation of in-app purchases that use the StoreKit framework on devices with real product information from App Store Connect. Your development-signed app uses the sandbox environment when you sign in to the App Store using a Sandbox Apple ID.


1 Answers

I have finally got iTunes Connect sandbox users to work. In order to do so I had to verify the sandbox user's account and hence needed a valid email address to do so.

Steps highlighted at the end

This goes against how I had always created and used sandbox users from day 1, but either there's been an undocumented change or is the current hack for the current iTunesConnect server maladies.

  • I can confirm that the receipt generated is a sandbox receipt.
  • The user is a sandbox user.
  • I have not entered nor paid with a credit card.

Steps to solve

  1. Go to iTunesConnect -> Users & Roles -> Sandbox User and add a new user
  2. Use a valid email address. Tip: A real gmail account and the + symbol can generate many valid emails. i.e. [email protected], [email protected] etc where [email protected] is a valid gmail account.
  3. Wait for verify email from iTunes.
  4. Verify the sandbox user by clicking on verification link. Tip: Use incognito browser to keep your real and sandbox Apple sessions separate.
like image 123
ajmccall Avatar answered Sep 19 '22 18:09

ajmccall