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.
The Apple sandbox environment lets you test in-app purchases on devices using product information set up in App Store Connect.
Try to go Settings -> iTunes & App Store scroll down to bottom and find SANDBOX ACCOUNT and clear data here.
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.
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.
Steps to solve
+
symbol can generate many valid emails. i.e. [email protected]
, [email protected]
etc where [email protected]
is a valid gmail account.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With