How to test application purchases through Apple TestFlight?

I downloaded my first application to iTunes Connect (iOS 8, iPhone) and now it is available through Apple TestFlight for internal and external testers. I created a non-expendable application for him and would like to test it. How to add it to my beta application? I get this message in iTunes Connect:

Your first in-app purchase should be sent with the new version of the app. Select it in the "Purchase in-app" section in the "Version Information" section and click "Submit."
You currently do not have a contract with iOS Paid Apps. If this In-App Purchase application was sent along with your application, your application will not be available on the App Store until your contract enters into effect. Legal, administrative and financial users can go to agreements, taxes, and the Banking module in iTunes Connect to view the status of your contract.

+19
ios itunesconnect testflight in-app-purchase
source share
5 answers

You can test the purchase through the application using a test account.

go to itunes connect → Users and Roles → Sandbox Testers

then create an account to test the purchase of the application.

when the test when buying the application will try to exit the application store that uses your real account. then it will request an itunes account during testing when you purchase the application, and then enter your test account credentials.

-5
source share

TestFlight users do not need an account for the sandbox, but they will test the automatically created account for the sandbox.

Sandbox Accounts

The moment the tester opens your application, an account is created for them in the sandbox. This means that you no longer need to create test accounts in iTunes Connect. Testing in-app purchases has never been easier.

A source


Please note that your user TestFlight is a legitimate user of the App Store. This user will buy, restore, etc. From IAP to Sandbox, as opposed to real IAP.

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

+50
source share

English

Testers - TestFlight - Apple Developer

Each assembly is available for testing up to 90 days, starting from the day when the developer uploaded his assembly. How many days you have left for testing, you can see on the application details page in TestFlight. TestFlight will notify you every time a new assembly is available, and it will contain instructions on what you need to test.

All in-app purchases are free during the testing period.

中文

Test 员 - TestFlight - Apple Developer

TestFlight app 信息 页面 的 的 的 剩余 一 天 天 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在

所有 测试 期间, 所有 App 内 购买 项目 都是 免费 的.

0
source share

I am testing the application through a test flight right now. The developer says that I should enter my password when prompted. I do not want to do this, as I expect another experience.

The application downloaded by the developer asks me for the following prompt: https://d.pr/i/LGfZ5V And asks for my password. Which I do not want to give.

I would expect something like this: https://d.pr/i/b4l4xg

Which is a normal in-app purchase experience that I'm used to.

The developer says this is a test flight limitation for beta applications. However, I am not sure. Does anyone here know if this is legal? Or is it something a developer might just not know?

0
source share

Testing IAP will require the use of a test user under iTunes connect. Plus the code in your application for implementing IAP. Then, to verify this, you “buy” an item from the application, in the sandbox, using this user ID.

As far as I know, TestFlight is no different from testing IAP on your device, building directly on your device.

I assume that you did not just add the IAP packet identifier and expect it to do something.

If you have not added code to support IAP, this answer is non-trivial as part of the SE response. Google IAP Tutorial. There are many good ones.

-3
source share

All Articles