iphone在应用程序内购买“无法连接到iTunes Store"

问题描述:

可能的重复:
iPhone Store Kit无法连接到iTunes Store" >

当我请求付款时,我正在应用程序购买中实现以下错误.

i am implementing in app purchase when i requesting the payment am getting bellow error.

事务错误:Error Domain=SKErrorDomain Code=0无法连接到 iTunes Store" UserInfo=0x2dcf40 {NSLocalizedDescription=无法连接到 iTunes Store}

Transaction Error: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x2dcf40 {NSLocalizedDescription=Cannot connect to iTunes Store}

有时错误代码会是 1004.所以我无法进行交易.

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..?

谢谢

本次讨论中有几个建议:http://www.everythingicafe.com/forum/threads/cannot-connect-to-itunes-store.11586/

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 -> 设置 -> 商店 ->(选择帐户)-> 退出

iPad/iPhone -> Setting -> Store -> (select account) -> Sign Out

然后再试一次.