iphone 在应用程序购买中“无法连接到 iTunes Store”
我是当我请求付款时在应用程序购买中实施时出现以下错误。
交易错误:错误域=SKErrorDomain代码=0“无法连接到iTunes Store”UserInfo=0x2dcf40 {NSLocalizedDescription=无法连接到iTunes Store}
这里有时错误代码为1004。所以我无法进行交易。
有时它会显示“购买过程失败”之类的警告。 ,但购买过程仍然运行良好..
我做错了什么吗...或者这个问题的任何解决方案..?
谢谢
Possible Duplicate:
iPhone Store Kit “Cannot connect to iTunes Store”
i am implementing in app purchase when i requesting the payment am getting bellow error.
Transaction Error: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x2dcf40 {NSLocalizedDescription=Cannot connect to iTunes Store}
Here some times the error code will be 1004. so i cant do the transaction.
in some times it displaying a warning like " has failed the purchase process." ,but still the purchase process is working fine..
am i doing something wrong... or any solution for this problem..?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
此讨论中有几项建议: http:// www.everythingicafe.com/forum/threads/cannot-connect-to-itunes-store.11586/
我认为我尝试的大多数都不成功。我很幸运退出我的测试帐户并再次尝试。
iPad/iPhone ->设置->商店-> (选择账户)->退出
然后重试。
There are several recommendations in this discussion: http://www.everythingicafe.com/forum/threads/cannot-connect-to-itunes-store.11586/
Thought most I tried were unsuccessful. I had the best luck signing out of my test account and trying again.
iPad/iPhone -> Setting -> Store -> (select account) -> Sign Out
Then try again.
在我的项目中,我没有设置
CFBundleVersion
。在项目设置中赋予它一个值后,购买就起作用了。检索产品列表也适用于丢失的 CFBundleVersion。Apple 还在其有关 IAP 的技术说明中声明了这一点:http://developer. apple.com/library/ios/#technotes/tn2259/_index.html
In my project i had not set the
CFBundleVersion
. After giving it a value in the project settings purchasing worked. Retrieving the list of products also worked with the missing CFBundleVersion.Apple also states this in their Technote regarding IAP: http://developer.apple.com/library/ios/#technotes/tn2259/_index.html
我有两个不同的 iTunes Connect 帐户,我的问题是我使用了错误的测试用户帐户。
这并不明显是错误的原因,因为您可以使用错误的帐户正常登录。向用户提供的错误消息与该项目已购买但尚未下载有关。使用正确帐户的测试用户解决了该问题。
I have two different iTunes Connect accounts, and my problem was I was using the wrong Test User account.
It wasn't obvious that this is what was wrong as you can login just fine with the wrong account. The error message given to the user was related to the item was already purchased but not downloaded. Using the correct account's test user resolved the issue.