开发者

Debug in-app purchase outside of sandbox?

开发者 https://www.devze.com 2023-02-22 18:05 出处:网络
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, a

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消