Configuring In-App Purchases (IAP) in iTunes Connect
Important Note: The first submission of IAP requires a new version to be submitted to Apple and Google. Subsequent submissions of IAPs, however, do not require a new app submission.
Step 1: Set up Agreements, Tax, and Banking.
This is very important. If you do not have a paid apps contract with Apple, you cannot use IAP. In iTunes Connect select the Agreements, Tax and Banking icon:
You need to request the Paid Applications contract. Then you need to fill out your contact, banking and tax information. If any of these are not completed, IAP will not work. When you are completed, your contracts should look like this.
Note: the contract number has been redacted
For more information on setting up contracts, please read this article. If you need help with your tax info, please contact a certified accountant.
Step 2: Set up your products in iTunes Connect.
Once you have your agreements, set up in iTunes, you need to create products for your app.
- Click on the "My Apps" icon that looks like this:
- Under the app to which you want to add purchases, select "Features" and select "In- App Purchases"
- Add an In-App Purchase by selecting the (+) button
- Select Non-Consumable Product. Note: Only Non-Consumable products are supported currently.
- Complete the form for your product. All information needs to be completed before your IAP will be valid. The most important field on this form is Product ID. This is a unique identifier which your app will use when completing transactions. It will also be needed when you enter these products into BuildFire. Also, make sure that your product is "cleared for sale." If you have completed all fields, your list of purchases should look like this:
For further information, please see this link.
Setting products up in BuildFire
For a step-by-step guide, we recommend you check out this article on How to Setup In-App Purchases in Your Control Panel
- From the BuildFire control panel, select Settings -> Purchase Settings:
- On this menu, you add the products for both iOS and Android. Please note, for iOS, there is no key needed, your products are automatically associated with your application's bundle ID. Enter the product ID that you entered into iTunesConnect exactly as you entered it. This field is case sensitive and if there is any difference between your product ID in BuildFire and your productID in iTunes connect, IAP will not work.
- Once you have entered all the products that your app will be using, it is time to associate your product with a plugin that a user can purchase. The easiest way to do this is to navigate to a plugin you would like to sell. You will notice there is now a purchase tab on the plugin. Select "Require Purchase" and associate the product with the product you entered:
- Finally, hit publish, so your settings are reflected on user's apps.
- An alternative way to add purchases to your app is to associate it with an action. Select "purchase" from the drop down and fill out much like the plugin. The difference here is you need to associate the action with a plugin.