“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
ios cocoa-touch in-app-purchase
add a comment |
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
ios cocoa-touch in-app-purchase
20
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56
add a comment |
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
ios cocoa-touch in-app-purchase
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
ios cocoa-touch in-app-purchase
ios cocoa-touch in-app-purchase
edited Aug 10 '15 at 7:27
James Webster
28.2k1160108
28.2k1160108
asked Sep 13 '11 at 13:36
gabzsagabzsa
379136
379136
20
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56
add a comment |
20
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56
20
20
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56
add a comment |
10 Answers
10
active
oldest
votes
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...
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
|
show 3 more comments
see In-App Purchase FAQ: Cannot connect to iTunes Store
Your app is running in the Simulator, which does not support In-App Purchase
For testing in app purchases always use real devices.
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
add a comment |
For newcomers, make sure your in-app purchasing product's status is Ready to Submit
, with no "missing metadata". In my case, what was missing was the localization of the subscription's group.
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
add a comment |
I've been having this problem and I'm convinced its a bug. I've filed a bug report with Bug Id 10108270
The problem seems to be that the test user is getting 'locked' and may have something to do with attempting to purchase an in app purchase in an already released app with that account.
My workaround was to create a new test user but until Apple get back to me, I can't provide any better solutions. I'll update this answer when I get replies.
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting theCannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)
– Andrew
Nov 11 '11 at 5:25
add a comment |
This problem remains persistent in 2016. Incredible. Here was my solution:
Add a build number. Target > General > Identities > Build.
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
add a comment |
I'm hitting the same issue. For me it happens after this secuence:
- Install app on a device logged into a UK account on iTunes
- Launch the app and use a test user set in USA
- Message is shown saying account is only valid in USA. Closes the app and auto launches iTunes
- Open your app again and retry purchase. Receive products but no other callback or error.
I don't know whether this is an issue on the IAP platform but I would like to get an error/callback to handle it in some way in my code.
To carry on testing your IAPs try any of these:
- Remove Provisioning Profile in Settings area, remove App and log out from Store in Settings. Then go to XCode and change the signing identities to "Do Not Sign" to then put them back (I know how it sounds :) but try) OR
- Hard reset all Settings on your device (Settings -> General...). Obviously you will loose any settings on that device...
- Kill iTunes app on the device (multitask menu) and log out from the Store on the Settings
If none of the above work, it might be an issue on IAP platform, see my comments below.
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
add a comment |
Make sure the system status is ready https://www.apple.com/support/systemstatus/
I have an Iphone, Restart it worked for me
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
add a comment |
This is an old thread that is related to problem I was facing today.
In my case, I was able to test in-app purchases on my device till yesterday but it stopped working today. It turned out that Apple had pushed an 'Amendment for Paid Applications' for me to review and agree to. Once I agreed to the amendment (without reading it, of course), everything started working again. Did not have to create a new test user or any other workaround.
There may be many reasons for in-app purchases to not work but make sure you are correctly set up on itunesconnect
or you won't be able to test in-app purchases.
add a comment |
You may also be getting this error when reusing an old sandbox account you tested a previous IAP on another app with (My scenario). Apple really needs to update the way we test IAPs, I'm running out of emails :0
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
add a comment |
This error also had occurred when to SKProductsRequest passed wrong NSSet:
Wrong:
let products = NSSet(objects: ["id1", "id2"])
Correct:
let products = NSSet(objects: "id1", "id2")
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7402801%2fcannot-connect-to-itunes-store-in-app-purchases%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
10 Answers
10
active
oldest
votes
10 Answers
10
active
oldest
votes
active
oldest
votes
active
oldest
votes
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...
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
|
show 3 more comments
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...
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
|
show 3 more comments
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...
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...
answered Dec 2 '12 at 3:40
stevelstevel
1,3051213
1,3051213
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
|
show 3 more comments
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
1
1
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
thank you! You just saved me a lot of hours +1!
– Gyfis
May 9 '14 at 11:52
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
This should be given correct answer
– Mitul Nakum
Dec 11 '14 at 20:27
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
Really thanks for your reply.
– Siddharth
Apr 14 '16 at 8:40
1
1
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
My error was simply not setting up a Sandbox User, I forgot that step. And don't log into it from the Settings >> iTunes section of the device b/c that will break it. Wait and do it during the actual testing.
– Nathan Prather
Jul 22 '16 at 3:12
1
1
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
logged out from all iTunes accounts. its prompt me for sign-In required and then transection gets failed. used many sandbox tester account but won't work.
– bLacK hoLE
Oct 4 '18 at 12:02
|
show 3 more comments
see In-App Purchase FAQ: Cannot connect to iTunes Store
Your app is running in the Simulator, which does not support In-App Purchase
For testing in app purchases always use real devices.
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
add a comment |
see In-App Purchase FAQ: Cannot connect to iTunes Store
Your app is running in the Simulator, which does not support In-App Purchase
For testing in app purchases always use real devices.
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
add a comment |
see In-App Purchase FAQ: Cannot connect to iTunes Store
Your app is running in the Simulator, which does not support In-App Purchase
For testing in app purchases always use real devices.
see In-App Purchase FAQ: Cannot connect to iTunes Store
Your app is running in the Simulator, which does not support In-App Purchase
For testing in app purchases always use real devices.
edited Oct 17 '16 at 14:50
Saqib Omer
3,41244057
3,41244057
answered Dec 17 '13 at 15:51
DShahDShah
7,887962120
7,887962120
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
add a comment |
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
Your app does not have a bundle version (CFBundleVersion). <-- This is what saved me. Thanks for the link.
– daltonclaybrook
Feb 23 '17 at 15:33
add a comment |
For newcomers, make sure your in-app purchasing product's status is Ready to Submit
, with no "missing metadata". In my case, what was missing was the localization of the subscription's group.
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
add a comment |
For newcomers, make sure your in-app purchasing product's status is Ready to Submit
, with no "missing metadata". In my case, what was missing was the localization of the subscription's group.
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
add a comment |
For newcomers, make sure your in-app purchasing product's status is Ready to Submit
, with no "missing metadata". In my case, what was missing was the localization of the subscription's group.
For newcomers, make sure your in-app purchasing product's status is Ready to Submit
, with no "missing metadata". In my case, what was missing was the localization of the subscription's group.
answered Nov 16 '16 at 12:48
Dielson SalesDielson Sales
1,19511521
1,19511521
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
add a comment |
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
1
1
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
Thank you! In my case, it was missing a localization for the display name.
– Justin
May 20 '17 at 11:18
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
In my IAP, it shows "Waiting for Upload". I'm still getting the error
– Vaibhav Jhaveri
Mar 13 '18 at 10:29
add a comment |
I've been having this problem and I'm convinced its a bug. I've filed a bug report with Bug Id 10108270
The problem seems to be that the test user is getting 'locked' and may have something to do with attempting to purchase an in app purchase in an already released app with that account.
My workaround was to create a new test user but until Apple get back to me, I can't provide any better solutions. I'll update this answer when I get replies.
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting theCannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)
– Andrew
Nov 11 '11 at 5:25
add a comment |
I've been having this problem and I'm convinced its a bug. I've filed a bug report with Bug Id 10108270
The problem seems to be that the test user is getting 'locked' and may have something to do with attempting to purchase an in app purchase in an already released app with that account.
My workaround was to create a new test user but until Apple get back to me, I can't provide any better solutions. I'll update this answer when I get replies.
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting theCannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)
– Andrew
Nov 11 '11 at 5:25
add a comment |
I've been having this problem and I'm convinced its a bug. I've filed a bug report with Bug Id 10108270
The problem seems to be that the test user is getting 'locked' and may have something to do with attempting to purchase an in app purchase in an already released app with that account.
My workaround was to create a new test user but until Apple get back to me, I can't provide any better solutions. I'll update this answer when I get replies.
I've been having this problem and I'm convinced its a bug. I've filed a bug report with Bug Id 10108270
The problem seems to be that the test user is getting 'locked' and may have something to do with attempting to purchase an in app purchase in an already released app with that account.
My workaround was to create a new test user but until Apple get back to me, I can't provide any better solutions. I'll update this answer when I get replies.
answered Sep 13 '11 at 13:54
James WebsterJames Webster
28.2k1160108
28.2k1160108
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting theCannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)
– Andrew
Nov 11 '11 at 5:25
add a comment |
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting theCannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)
– Andrew
Nov 11 '11 at 5:25
2
2
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I have created a new test user, but it didn't help.
– gabzsa
Sep 13 '11 at 13:55
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I'm sorry I can't help more, that was my workaround, it's a shame it doesn't work for you. I'll keep this answer updated when I get more information.
– James Webster
Sep 13 '11 at 14:13
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
I created a new test account and in-app purchase started working again. Thanks!
– Miha Hribar
Sep 27 '11 at 13:28
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting the
Cannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)– Andrew
Nov 11 '11 at 5:25
Creating a new test user solved the problem for me. (A few days ago I got a notice when trying to use my old test user that it had been disabled, so I had to go re-enable it. Soon after that, I started getting the
Cannot connect to iTunes store
error. But once I created a new test user, purchases worked again.)– Andrew
Nov 11 '11 at 5:25
add a comment |
This problem remains persistent in 2016. Incredible. Here was my solution:
Add a build number. Target > General > Identities > Build.
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
add a comment |
This problem remains persistent in 2016. Incredible. Here was my solution:
Add a build number. Target > General > Identities > Build.
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
add a comment |
This problem remains persistent in 2016. Incredible. Here was my solution:
Add a build number. Target > General > Identities > Build.
This problem remains persistent in 2016. Incredible. Here was my solution:
Add a build number. Target > General > Identities > Build.
answered May 11 '16 at 18:32
ArthurVonBabylonArthurVonBabylon
828
828
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
add a comment |
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
1
1
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
UNBELIEVABLE. This is still an issue in 2018. I don't use a build number in debug mode because I increment it for production releases only. Thanks for posting this.
– Steven Peterson
Aug 4 '18 at 3:10
add a comment |
I'm hitting the same issue. For me it happens after this secuence:
- Install app on a device logged into a UK account on iTunes
- Launch the app and use a test user set in USA
- Message is shown saying account is only valid in USA. Closes the app and auto launches iTunes
- Open your app again and retry purchase. Receive products but no other callback or error.
I don't know whether this is an issue on the IAP platform but I would like to get an error/callback to handle it in some way in my code.
To carry on testing your IAPs try any of these:
- Remove Provisioning Profile in Settings area, remove App and log out from Store in Settings. Then go to XCode and change the signing identities to "Do Not Sign" to then put them back (I know how it sounds :) but try) OR
- Hard reset all Settings on your device (Settings -> General...). Obviously you will loose any settings on that device...
- Kill iTunes app on the device (multitask menu) and log out from the Store on the Settings
If none of the above work, it might be an issue on IAP platform, see my comments below.
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
add a comment |
I'm hitting the same issue. For me it happens after this secuence:
- Install app on a device logged into a UK account on iTunes
- Launch the app and use a test user set in USA
- Message is shown saying account is only valid in USA. Closes the app and auto launches iTunes
- Open your app again and retry purchase. Receive products but no other callback or error.
I don't know whether this is an issue on the IAP platform but I would like to get an error/callback to handle it in some way in my code.
To carry on testing your IAPs try any of these:
- Remove Provisioning Profile in Settings area, remove App and log out from Store in Settings. Then go to XCode and change the signing identities to "Do Not Sign" to then put them back (I know how it sounds :) but try) OR
- Hard reset all Settings on your device (Settings -> General...). Obviously you will loose any settings on that device...
- Kill iTunes app on the device (multitask menu) and log out from the Store on the Settings
If none of the above work, it might be an issue on IAP platform, see my comments below.
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
add a comment |
I'm hitting the same issue. For me it happens after this secuence:
- Install app on a device logged into a UK account on iTunes
- Launch the app and use a test user set in USA
- Message is shown saying account is only valid in USA. Closes the app and auto launches iTunes
- Open your app again and retry purchase. Receive products but no other callback or error.
I don't know whether this is an issue on the IAP platform but I would like to get an error/callback to handle it in some way in my code.
To carry on testing your IAPs try any of these:
- Remove Provisioning Profile in Settings area, remove App and log out from Store in Settings. Then go to XCode and change the signing identities to "Do Not Sign" to then put them back (I know how it sounds :) but try) OR
- Hard reset all Settings on your device (Settings -> General...). Obviously you will loose any settings on that device...
- Kill iTunes app on the device (multitask menu) and log out from the Store on the Settings
If none of the above work, it might be an issue on IAP platform, see my comments below.
I'm hitting the same issue. For me it happens after this secuence:
- Install app on a device logged into a UK account on iTunes
- Launch the app and use a test user set in USA
- Message is shown saying account is only valid in USA. Closes the app and auto launches iTunes
- Open your app again and retry purchase. Receive products but no other callback or error.
I don't know whether this is an issue on the IAP platform but I would like to get an error/callback to handle it in some way in my code.
To carry on testing your IAPs try any of these:
- Remove Provisioning Profile in Settings area, remove App and log out from Store in Settings. Then go to XCode and change the signing identities to "Do Not Sign" to then put them back (I know how it sounds :) but try) OR
- Hard reset all Settings on your device (Settings -> General...). Obviously you will loose any settings on that device...
- Kill iTunes app on the device (multitask menu) and log out from the Store on the Settings
If none of the above work, it might be an issue on IAP platform, see my comments below.
edited Sep 15 '11 at 10:18
answered Sep 13 '11 at 14:55
Juan Fran JimenezJuan Fran Jimenez
1,003917
1,003917
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
add a comment |
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Thanks, but neither method 1 or 2 worked for me. Still cannot connect to iTunes. :(
– gabzsa
Sep 13 '11 at 16:53
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Actually, I've tried myself and I can't either! I have a feeling this is a problem TODAY/RECENT with the platform. But I can't find any link to confirm it (status). Argh!. I'm leaving it for a few hours and see if that is the case and it's something external to the devs
– Juan Fran Jimenez
Sep 13 '11 at 17:12
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Have tried to kill iTunes app on the device (multitask menu) and log out from the Store on the Settings?
– Juan Fran Jimenez
Sep 15 '11 at 10:01
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
Let me add that Game Center (sandbox at least) has been unstable for the last 5 days or so. Only last night started to work better. I'm mentioning it because my IAP code hasn't changed since my answer and now it works. I'm inclined to think there was an error on Apple IAP platform and that somehow was related to Game Center too.
– Juan Fran Jimenez
Sep 15 '11 at 10:17
add a comment |
Make sure the system status is ready https://www.apple.com/support/systemstatus/
I have an Iphone, Restart it worked for me
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
add a comment |
Make sure the system status is ready https://www.apple.com/support/systemstatus/
I have an Iphone, Restart it worked for me
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
add a comment |
Make sure the system status is ready https://www.apple.com/support/systemstatus/
I have an Iphone, Restart it worked for me
Make sure the system status is ready https://www.apple.com/support/systemstatus/
I have an Iphone, Restart it worked for me
answered Apr 12 '17 at 14:00
hguzmanhguzman
15617
15617
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
add a comment |
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
1
1
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
Here's the developer system status: developer.apple.com/system-status
– Jan Schlorf
Dec 7 '17 at 11:52
add a comment |
This is an old thread that is related to problem I was facing today.
In my case, I was able to test in-app purchases on my device till yesterday but it stopped working today. It turned out that Apple had pushed an 'Amendment for Paid Applications' for me to review and agree to. Once I agreed to the amendment (without reading it, of course), everything started working again. Did not have to create a new test user or any other workaround.
There may be many reasons for in-app purchases to not work but make sure you are correctly set up on itunesconnect
or you won't be able to test in-app purchases.
add a comment |
This is an old thread that is related to problem I was facing today.
In my case, I was able to test in-app purchases on my device till yesterday but it stopped working today. It turned out that Apple had pushed an 'Amendment for Paid Applications' for me to review and agree to. Once I agreed to the amendment (without reading it, of course), everything started working again. Did not have to create a new test user or any other workaround.
There may be many reasons for in-app purchases to not work but make sure you are correctly set up on itunesconnect
or you won't be able to test in-app purchases.
add a comment |
This is an old thread that is related to problem I was facing today.
In my case, I was able to test in-app purchases on my device till yesterday but it stopped working today. It turned out that Apple had pushed an 'Amendment for Paid Applications' for me to review and agree to. Once I agreed to the amendment (without reading it, of course), everything started working again. Did not have to create a new test user or any other workaround.
There may be many reasons for in-app purchases to not work but make sure you are correctly set up on itunesconnect
or you won't be able to test in-app purchases.
This is an old thread that is related to problem I was facing today.
In my case, I was able to test in-app purchases on my device till yesterday but it stopped working today. It turned out that Apple had pushed an 'Amendment for Paid Applications' for me to review and agree to. Once I agreed to the amendment (without reading it, of course), everything started working again. Did not have to create a new test user or any other workaround.
There may be many reasons for in-app purchases to not work but make sure you are correctly set up on itunesconnect
or you won't be able to test in-app purchases.
edited Aug 19 '14 at 10:31
Robert
4,0621252106
4,0621252106
answered Aug 19 '14 at 5:12
PicSonicsPicSonics
216
216
add a comment |
add a comment |
You may also be getting this error when reusing an old sandbox account you tested a previous IAP on another app with (My scenario). Apple really needs to update the way we test IAPs, I'm running out of emails :0
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
add a comment |
You may also be getting this error when reusing an old sandbox account you tested a previous IAP on another app with (My scenario). Apple really needs to update the way we test IAPs, I'm running out of emails :0
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
add a comment |
You may also be getting this error when reusing an old sandbox account you tested a previous IAP on another app with (My scenario). Apple really needs to update the way we test IAPs, I'm running out of emails :0
You may also be getting this error when reusing an old sandbox account you tested a previous IAP on another app with (My scenario). Apple really needs to update the way we test IAPs, I'm running out of emails :0
answered Jan 23 '18 at 1:38
David BaezDavid Baez
5131722
5131722
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
add a comment |
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
I had this issue as well. Sometimes creating a new user helps. Also you don't need to use a real email. I through -## at the end of mine and keep adding new ones.
– Jeremiah
Mar 24 '18 at 15:38
add a comment |
This error also had occurred when to SKProductsRequest passed wrong NSSet:
Wrong:
let products = NSSet(objects: ["id1", "id2"])
Correct:
let products = NSSet(objects: "id1", "id2")
add a comment |
This error also had occurred when to SKProductsRequest passed wrong NSSet:
Wrong:
let products = NSSet(objects: ["id1", "id2"])
Correct:
let products = NSSet(objects: "id1", "id2")
add a comment |
This error also had occurred when to SKProductsRequest passed wrong NSSet:
Wrong:
let products = NSSet(objects: ["id1", "id2"])
Correct:
let products = NSSet(objects: "id1", "id2")
This error also had occurred when to SKProductsRequest passed wrong NSSet:
Wrong:
let products = NSSet(objects: ["id1", "id2"])
Correct:
let products = NSSet(objects: "id1", "id2")
answered May 16 '18 at 7:05
IgorIgor
7,81833757
7,81833757
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7402801%2fcannot-connect-to-itunes-store-in-app-purchases%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
20
+1 for "all the voodoo stuff" - ain't that the truth!
– Craig Watkinson
Nov 6 '13 at 23:22
Apple, why do you do this so complicate!!!
– Borzh
Oct 6 '18 at 23:56