Contents

Testing invalid product identifier handling

Verify that your app correctly handles invalid product identifiers.

Overview

Intentionally include an invalid identifier in your app’s list of product identifiers. Then do one of the following:

  • In a production build, verify that the app displays the rest of its store UI and that users can purchase the valid products.

  • In a development build, verify that the app brings the issue to your attention.

Check the console log and verify that you can correctly identify the invalid product identifier. Make sure you remove it after testing.

For more information on fetching product identifiers, see Loading in-app product identifiers.

See Also

Product identifiers and requests