App Store Sandbox Testing

How to try your subscripions

To test your subscriptions you don't need to make real purchases. You can make sure your subscription has been implementa correctly by using sandbox user account provided by Apple.

🚧

If the SKUs are not returned to your app please be sure to follow the instructions at this guide

You can create a Test Account on AppStoreConnect → Users and Access → Sandbox Testers

For more information about how to add, edit or delete a sandbox user account please check this Apple guide and Setting up Test Accounts for Testing In App Purchase

Apple will shorted the subscription duration while in Sandbox so that you can easly test the subscriptions renewals and expirations.

DurationSandbox duration
3 days2 minutes
1 week3 minutes
1 month5 minutes
3 months15 minutes
6 months30 minutes
1 year1 hour

Test on your device

From iOS 12 you can add a sandbox user account and you do not need to logout your main user from the app store.

You can set the sandbox user at Settings → App Store → Sandbox Account

📘

Sometimes the Sandbox Account is not visible. If that happens on your device run your sandbox application and try to make a purchase.
When the purchase page appear go to Settings → App Store → Sandbox Account and add your account.

📘

Please do not use a Store Kit Configuration file and test the purchases on a device.

Test on simulator

We are currently not supporting the purchase on the iOS simulator: please test on a real device and do not use the Store Kit Configuration file


Did this page help you?