Ios Testing In App Purchases
Open your app and perform your in app purchase product testing.
Ios testing in app purchases. Go to itunes app stores and scroll to the bottom. This interrupts all purchase attempts by that tester until the person agrees to the updated terms and conditions on the ios device or until you turn off the feature in app store connect. While testing your app before release it s a good idea to be sure and test the purchases included within it free or paid subscriptions and individual issues.
Login to your sandbox account on your ios device. In sandbox testing you can simulate an interrupted purchase by turning on the interrupted purchase feature in app store connect for a sandbox apple id tester. Click sign in and login with the email and password you created on app store connect.
You should see sandbox accounts like in the image below. Developers can focus more on code implementation and make in app purchases work perfectly without any concern about in app purchases records or test users until all implementation is finished. It is as infact more tedious creating multiple test purchases as creating multiple test accounts.
We will review some interesting aspects about in app purchases on the apple platform as well as the way to test it. This requires setting up a test user in itunes connect which you will log in as. Use testflight to gain valuable feedback on your app and in app purchases from a wider audience before releasing your app on the app store.
Go to settings click your profile picture at the top. Use your test account credentials to test the purchase. Testing in app purchases in ios 14.
Storekit testing in xcode is a local test environment where you test in app purchases without needing to connect to app store servers previously it was only possible to test purchases and subscriptions in the sandbox environment and that comes with a few limitations. When you are testing in app purchases you do not need to use the release version of your app. When your app uses the store kit api to request a payment you re asked to sign in.