user392406
user392406

Reputation: 1323

store kit transaction error: "Cannot connect to iTunes Store" on ios 7 device

On product request I am getting all the products. I am also getting the product buy alert in below ios 7 devices but not for the ios 7 and above.

For ios 7 and above I am getting an error as:
Transaction error: Cannot connect to iTunes Store

I am running app on the device itself and not on the simulator. I have gone through other SO as well but unable to rectify my problem.

Please help.

Upvotes: 11

Views: 12578

Answers (5)

Mohit Kumar
Mohit Kumar

Reputation: 3086

I got the same issue and after researching this for some time, I found the solution

Go to: Settings -> iTunes & App Store -> Sandbox Account (Check logged in account here)

In my case I was using the wrong email here that's why I was getting Transaction error: Cannot connect to iTunes Store

Hope that saves you some time.

Upvotes: 0

Willy
Willy

Reputation: 9881

In case you have already followed what Kostiantyn's answer and this still happens on your device, try to restart it.

It works for me. I am not sure what is the reason behind it.

Upvotes: 0

Kostiantyn Koval
Kostiantyn Koval

Reputation: 8483

I had the same issue. Here is similar question I am getting error while requesting products from App Store for IAP

Try doing this:
1)You have to test on device
2)Go to setting -> iTunes & App Store -> and log out of your account.
Remove app from device and clean all data.
Make sure you have done all necessary steps for in-App purchase testing. Here is apple documentation
Run on device and test it.

Upvotes: 27

Uladzimir
Uladzimir

Reputation: 3486

If you having similar issue, please, check that you do not have expired contracts in itunesconnect.enter image description here

Upvotes: 1

Naloiko Eugene
Naloiko Eugene

Reputation: 2626

I was requesting SKProducts and got this error. Interesting investigation. After I set the Date & Time for a day earlier the SKProducts come as they have to.

Upvotes: 0

Related Questions