Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
467 views
in Technique[技术] by (71.8m points)

ios - How to test In App Purchases through Apple TestFlight?

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:

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

TestFlight users don't require a sandbox account, but they will test against an automatically created sandbox account.

Sandbox Accounts

The moment a tester opens your application, a sandbox account is created for them. This means it's no longer necessary to create test accounts in iTunes Connect. Testing In-App Purchases was never easier.

Source


Note that your TestFlight user is a legitimate App Store user. That user will be purchasing, restoring, etc. from the IAP in the Sandbox as opposed to the real IAP.

On iTunes Connect, the IAP can be "Approved" or "Ready to Submit" (or any other status, I think).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...