You might want to check the details of your IAP items for your app on itunesconnect. I know in my case, when testing IAP for an app that isn’t live yet, the IAP go into review state but after about 4 days they come back rejected. In that state they fail for testing purposes. I fix it by slightly editing the description field of the IAP and re-saving which puts the IAP back into review and I can test with it for a few more days before the same thing happens again.
Hmm good idea, in my case however, 2 of mine are “ready to submit”, and I have 1 that is approved, that is already in a live version of my app. The one that is approved won’t work either in my sandbox testing.
I noticed earlier today that the iOS IAP sandbox seemed to be slow too. So I think it’s just an Apple issue today.
@HardBoiledIndustries, it sounds like when you’re creating an IAP for testing, you’re not only creating it, but you’re going ahead and submitting it for review (even though it’s not available in the live app)? It’s not actually necessary to submit it for review to test with it in the sandbox environment, so I’d think you would only submit it when you’re actually ready to (i.e., in conjunction with an app update that supports the new product). In other words, IAP’s in the “ready to submit” state should work in the sandbox environment.
- Andrew
glad to see that I’m not the only one, I hope this gets resolved soon. I was going crazy trying to figure out what I broke in my app.
Yeah, although I should add that I did eventually receive the callbacks from the store that I expected, it just took upwards of a minute instead of a second or two.
- Andrew
Ok, well maybe I will give it a day and see what happens. Perhaps this slow delay could be because Apple is doing its 5th aniversary of its app store today, and so tons of paid apps are free, maybe their servers are just congested.
@aukStudios -yes, you are correct. I had mistakenly submitted my IAP for review before my app was ready. There doesn’t seem to be a way to “unsubmit” the IAP, so, in order to keep testing with them, rather than delete them and create new ones, I just modify the descriptions of the existing IAP and resubmit which instantly reactivates them for testing purposes. I thought perhaps rxmarccall might have made the same mistake I made since his symtoms sounded familiar, but it looks like you have a different issue with the iOS sandbox.
Also, I am not able to log into Itunes Connet right now, would anyone mind trying and seeing if its down for them as well?
I get the message “An error has occurred processing your request. Please try again later or send an e-mail for assistance.”
I just tried and was able to login to iTunes Connect without any issue.
- Andrew
Yikes, I hope my account isn’t screwed up, I guess its time to email Apple. Thanks.
One quick question, does Apple have “Test IAP Id’s” that can be used to do a generic test to see if the process is working? (Android has this, but I haven’t seen about Apple).
No, Apple doesn’t have that.
- Andrew
Ah ok, man not sure what to do at this point. The store delay seems to be gone now, response is immediate, but still getting a failed response.
Have you by chance logged out of your test account and logged into your regular iTunes Account? If you try to buy a product in the sandbox using your regular iTunes Account, it’ll fail. (I used to forget that and would scratch my head for a while wondering why my IAP tests stopped working. That was why.)
- Andrew
Thanks for that, I had Itunes open and when I would connect my ipad it seemd to have automatically logged me into my normal Apple account used for normal use… Dang you Apple.
Thanks again!
i have the same issues as rxmarccall, it take so long to respond callback function, and i got the result “errorString: Cannot connect to iTunes Store” after execute store.purchase…
transactionCallback: Received event storeTransaction
state: failed
errorType: unknown
errorString: Cannot connect to iTunes Store
Transaction failed, type: unknown Cannot connect to iTunes Store
@squrce,
Yea last night I started having that same issue, it was all working again for a little while and now its taking FOREVER to get a response. This has to be on Apple’s end because it has been very inconsistant. Was hoping it would all be resolved today, but as of right now its sooooo slow, not sure what kind of response I will get. Going to try and test on Android.
Its doing the same thing today “Cannot connect to Itunes Store”
Just an FYI, this is an issue with Apple, found this forum on their developer forums, many members are experiencing this issue: https://devforums.apple.com/message/851700#851700