如何通过Apple TestFlight测试应用内购买? [英] How to test In App Purchases through Apple TestFlight?

查看:2485
本文介绍了如何通过Apple TestFlight测试应用内购买?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的第一个应用程序上传到iTunes Connect(iOS 8,iPhone),现在可以通过Apple TestFlight为内部和外部测试人员提供。
我在应用程序购买时创建了 Non-Consumable ,并希望对其进行测试。如何将其添加到我的测试版应用中?
我在iTunes Connect中收到此消息:

I uploaded my first app to iTunes Connect (iOS 8, iPhone) and it's now available through Apple TestFlight for internal and external testers. I created a Non-Consumable in app purchase for it and would like to test it. How can I add it to my beta app? I'm getting this message in iTunes Connect:


您的第一个应用内购买必须使用新的应用版本提交。从版本详细信息
中的应用内购买部分中选择它,然后单击提交。

您目前没有有效的iOS付费应用合同。如果此应用程序内购买已与您的应用程序一起提交,那么您的应用程序将无法在App Store上获得
,直到您的合同达到
效果。法律,行政和财务用户可以访问iTunes Connect中的协议,税,
和银行模块查看您的合同状态。

Your first In-App Purchase must be submitted with a new app version. Select it from the In-App Purchase section in Version Details and click Submit.
You do not currently have a iOS Paid Apps contract in effect. If this In-App Purchase was submitted with your app, then your app will not be available on the App Store until your contract goes into effect. Legal, Admin, and Finance users can go to the Agreements, Tax, and Banking module in iTunes Connect to view your contract status.


推荐答案

您可以使用测试帐户测试应用内购买。

you can test in-app purchase with test account.

转到itunes connect - >用户和角色 - >沙箱测试人员

go to itunes connect -> Users and Roles --> Sandbox Testers

然后创建一个帐户来测试您的应用内购买。

then create an account for testing your in app purchase.

测试时在应用程序购买尝试从使用您的真实帐户的应用程序商店注销。然后它会在应用程序购买测试时询问itunes帐户,然后输入您的测试帐户凭据。

when test in app purchase try to logout from app store which uses your real account. then it will ask for itunes account while in testing in app purchase then enter your test account credentials.

这篇关于如何通过Apple TestFlight测试应用内购买?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆