IAPHelper icon indicating copy to clipboard operation
IAPHelper copied to clipboard

I have try to use IAPHelper,but it always present cannot connect to iTunes Store 0,Can you tell me why?

Open bianxiang opened this issue 8 years ago • 11 comments

I have try to use IAPHelper,it can show goods information,but it always present cannot connect to iTunes Store 0,Can you tell me why? 047fb9b8-4408-414d-8298-3c46ee8e07b3

bianxiang avatar Jun 30 '16 07:06 bianxiang

Same problem here, but only in production mode. In sandbox all works fine.

CeccoCQ avatar Jul 04 '16 18:07 CeccoCQ

@bianxiang Hi , can you logout your app store and login with test account if you are not on production mode.

@CeccoCQ can you try to logout the app store account and try again in production mode ? It happen sometime if we was testing with test account.

saturngod avatar Jul 05 '16 01:07 saturngod

@saturngod I've already tried to logout, without success. In sandbox mode all works correctly. Another issue: the version that is on Apple Store doesn't retrieve the products list. If I work on my simulator (or in debug mode) I'm able to fetch all products details.

CeccoCQ avatar Jul 05 '16 08:07 CeccoCQ

Yes, I got the same problem as well. Very disappointing as I switched from MKStoreKit to this in the hopes that this might work; problem might be related to IPv6 networks.

SoaringDovahkiin avatar Oct 18 '16 10:10 SoaringDovahkiin

@SoaringDovahkiin happen in production ? How did you test the production ? If it's Adhoc version cannot use with real apple store account. Need to use with test account.

Real app store account can only use for download from app store.

saturngod avatar Oct 24 '16 06:10 saturngod

@saturngod Yes, it was on the iPhone 6 simulator on a sandbox environment (test account) and got the following error: Fail Cannot connect to iTunes Store. I will be testing this out on a real device as well.

UPDATE: IAPHelper works in sandbox mode (in simulator and real devices), however I am testing on my real apple account on my device and I cannot connect to iTunes store. I would like to submit the application, but not sure if it works. By adhoc version, you mean version that is not uploaded on app store?

Thanks for your time, SoaringDovahkiin

SoaringDovahkiin avatar Oct 27 '16 12:10 SoaringDovahkiin

Has anyone solved this problem yet? I am have the exact same issue, and have been working on it for over a week now. I like IAPHelper and would like to use it.

ghost avatar Dec 04 '16 16:12 ghost

@jonkrider why ? it always present cannot connect to iTunes Store 0

yuyangdexue avatar Mar 31 '17 10:03 yuyangdexue

same issue

poongd avatar Apr 03 '17 06:04 poongd

猜测可能是因为你的 AppleID 是正式的,需要 用测试账号 进行购买测试; 注销掉AppleID,然后运行购买代码,这时应该会 询问你的 测试账号。

xyxdasnjss avatar Apr 19 '17 12:04 xyxdasnjss

@xyxdasnjss, Maybe use english so it may help others having the same problem?

revolter avatar Dec 12 '17 17:12 revolter