Edit: Full wipe was the only way to fix the issue after all.
I’ve been testing my IAP (consumable items) against iTunes Connect Sandbox. It’s been working perfectly fine until I started doing more “creative” (or maybe “harsh”) testing to cover all possible cases, and suddenly, I can no longer buy items.
What I get now is, “Confirm your In-App Purchase” popup that details what I am about to buy plus the price for the item. I tap on “Buy”, and it asks for my test user’s password, so I enter it (and sometimes it skips the password request). Then, after a moment, I get a popup message that says “An unknown error has occurred” with the option to “Cancel” or “Retry”. Retrying simply pops up the same unknown error message (sending me to never ending loop), and canceling results in “Transaction failed” notice.
The Xcode console says “Cannot connect to iTunes Store” as the cause of the error – but I have a feeling it isn’t about not being able to connect to iTunes Store, but something else. (Because if it couldn’t connect to iTunes sandbox, why was it able to fetch the item info from the iTunes anyway.)
Has anyone ever experienced something like this? Will this resolve itself if I wait a while? I googled, and this post on stackoverflow says “do a hard reset (full wipe) of your iPod (Settings => General => Reset => Erase All Content and Settings).”
What does it mean? I really don’t want to do this full wipe. Erasing all content? Noooo! Please tell me I don’t have to do that…
Again, the purchasing process worked perfectly fine until I intentionally and repeatedly crashed the game by tapping on multiple “buy” buttons while jumping from scene to scene. When I tapped on a single buy button (i.e., just a single purchase request), jumping from scene to scene did not interfere with IAP purchase process, and transaction went through perfectly fine. It was after I did more intense testing and intentionally crashed the game by tapping on buy buttons on multiple screens in rapid succession… It feels like iTunes Sandbox suddenly gave up on me. But will it ever correct itself on its own? Do I need to reset something somewhere…?
Naomi
[import]uid: 67217 topic_id: 20378 reply_id: 320378[/import]