Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bianxiang opened this issue Jun 30, 2016 · 11 comments

Comments

@bianxiang
Copy link

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

@CeccoCQ
Copy link

CeccoCQ commented Jul 4, 2016

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

@saturngod
Copy link
Owner

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

@CeccoCQ
Copy link

CeccoCQ commented Jul 5, 2016

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

@SoaringDovahkiin
Copy link

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.

@saturngod
Copy link
Owner

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

@SoaringDovahkiin
Copy link

SoaringDovahkiin commented Oct 27, 2016

@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

@ghost
Copy link

ghost commented Dec 4, 2016

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.

@yuyangdexue
Copy link

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

@poongd
Copy link

poongd commented Apr 3, 2017

same issue

@xyxdasnjss
Copy link

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

@revolter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants