Hello,
I am a bit confused on the "testing" of the IAP. Do i need to release an app to be able to test the IAP on TestFlight? Or can i just have an app that is not released, just testing on the testflight?
Hello,
I am a bit confused on the "testing" of the IAP. Do i need to release an app to be able to test the IAP on TestFlight? Or can i just have an app that is not released, just testing on the testflight?
Depends what you mean by "release". The app does not need to be released to the App Store for the public but as TestFlight handles the distribution, it build would need to be submitted and it will be made available to those you invite internally or externally. note: If you use with external testers, the app will need to be approved. See this doc for more info: https://help.apple.com/app-store-connect/#/devdc42b26b8
Another option distribute directly via Xcode and test against the sandbox environment. This will use the in-app purchase products you have configured in App Store Connect. https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox
Thank you for the reply, by trial and error i figured out what was wrong a few hours ago. So i'll post here to make sure other people might get some help.
To get the in app purchases working,
Apple is not so clear on what steps you need to take to get things rolling, you have to stumble upon them by yourself, or at least that was my experience for the past few hours. Hopefully this will help some people save some time.