I hope someone can help me. I have been working on this issues for over a week, and I know when I am beat and have to ask for assistance. I have an app that I am add Auto-Renewable In App Purchases to. I am using IAPHelper which can be found on GitHub. I can make the purchase and that part works, but I keep getting the error Cannot Connect to iTunes Store, and error code is 0. I have used other sample demos and I get the same result: Can make purchase, but cannot verify it by connecting to iTunes Store.
Here is what I can confirm:
- Yes, I am connecting to iTunes Sandbox
- Yes, I have tried this on both the Xcode simulator and an external iPad with the same results.
- Yes, I have used multiple testing user accounts.
- Yes, All IDs are correct in both Xcode and iTunes Connect - they match.
- And tons of other testing and hacking to try to get this to work.
Has anyone else had this issue and been able to solve it?
You can see the source code by Googling for IAPHelper on GitHub, or copy and paste this link: https://github.com/saturngod/IAPHelper