Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Cannot connect to iTunes Store" in-app purchases

I am having problems testing my in-app purchases. I get back valid product identifiers, but upon purchase I receive the dreaded "Cannot connect to iTunes Store". Interesting thing is that restore purchases seems to work - iTunes login pops up.

I have: - Checked that my in-app purchases are cleared for sale - Checked, rechecked my source code to be in sync with Apple's documentation - Added appropiate test users - app id does not contain wildcard - in-app purchases are linked to the app (app itself is in developer rejected state, purchases are in ready to submit) - waited - reinstalled app, cleaned solution, all the voodoo stuff

like image 855
arkir Avatar asked Sep 13 '11 13:09

arkir


People also ask

Why does my iTunes Store say Cannot connect?

Why Can't My iPhone Connect To The App Store? Your iPhone says it “cannot connect to App Store” because it's not connected to a Wi-Fi or cellular data network, a software problem is preventing the App Store from loading, or the App Store servers are down.

Why is my in-app purchase not working?

If you haven't received an in-app item you bought, try closing and restarting the app or game you're using. Tap Apps or Manage applications (depending on your device, this may be different). Tap the app you used to make your in-app purchase.

Why are in-app purchases not working on iPhone?

Make sure you're signed in with the same Apple ID that you used to make the purchase. Make sure in-app purchases are allowed on your device. Restart your device: Restart your iPhone.


1 Answers

Make sure you have signed out of any production iTunes accounts on the device.

I was getting this error on my test phone which was logged in with my actual iTunes account. You cannot test apps using your production iTunes account, hence the error. I just wish Apple provided a better error so as to avoid this guesswork...

like image 127
stevel Avatar answered Oct 15 '22 01:10

stevel