Test your in-app purchases before making your app available in the App Store.
Users can buy promoted in-app purchases from the App Store, but you need to test this flow before making your product publicly available. Apple provides a system URL that triggers your app using the
itms-services:// protocol, so you can test in-app purchases before they're available in the App Store.
The bundle ID for your app; for example:
The in-app purchase product name you want to test; for example:
The resulting URL looks like this:
Send this URL to yourself in an email or iMessage and open it from your device. You will know the test is running when your app opens automatically. You can then test how your app handles the promoted in-app purchase.