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

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

问题描述

我将我的第一个应用程序上传到 iTunes Connect(iOS 8、iPhone),现在它可以通过 Apple TestFlight 供内部和外部测试人员使用.我为它创建了一个 Non-Consumable 应用程序购买并想对其进行测试.如何将其添加到我的 Beta 版应用程序中?我在 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天全站免登陆