Debug in-app purchase outside of sandbox?
I have an app that uses non-consumable in-app purchases to provide content to the user.
These purchases work fantastically when I run from Xcode (via sandbox) or via ad-hoc builds (for some reason, also via sandbox). It's been approved by Apple and put on the AppStore. But when I download the production version 开发者_运维技巧from the store and click the "buy" button it fails.
Seeing as the problem only occurs in production, I'm a bit stymied as to how to debug it. I suspect it has something to do with purchasing through the sandbox vs. production servers, but even ad-hoc is done through the sandbox.
Is there anyway to debug this problem short of adding a bunch of alert dialogs and submitting to Apple again?
You are totally right;
You need all your Contracts (in iTunes Connect) to be active, otherwise you wont be able to make in-app purchases.
精彩评论