Before reading on, make sure you know how to create an App ID and Distribution Provisioning Profile from the iOS Provisioning Portal. Also, make sure you already know how to manage new applications in iTunes Connect. If you're unsure, please refer to Chapter 10, Optimizing, Testing, and Shipping your Games, for more information. The following are the things that need to be ready in your app before creating an In-App Purchase:
A Distribution Certificate already made for your app.
An explicit App ID for your application that is,
com.companyname.appname
. Do not substitute a wild-card character (asterisk *). The Bundle ID needs to be completely unique to use the In-App Purchase function.An ad-hoc Distribution Provisioning Profile (used for testing In-App Purchases). When you're ready to submit an app with In-App Purchase, an App Store Distribution Provisioning Profile is required.
Have your application information set up in iTunes Connect. You do not have to have your...