Today you will perform pre In-App Purchased tasks shown on this card.
Before, you get started, I assume you read part 1 and part 2 of the tutorial.
Task 1
In iTunes connect, you have to provide Apple your banking and tax information. If you’ve done that already, skip ahead to the second task. Here are the reasons for doing so:
- So Apple can send you funds collected on your behalf
- To see all product types in iTunes Connect web portal
- So StoreKit code you’ll enter in the ProductViewController class will work.
Now, point your browser to the iTunes Connect portal’s login page. Use your Apple Developer ID and password to sign in. When you see iTunes Connect’s home page, click the Agreements, Tax and Banking icon.
Accept Apple’s terms and conditions and fill out the various web forms. When you are done, iTunes creates a Paid Applications Contract as shown in this image.
Task 2
You have to setup an iOS app record in iTunes Connect web portal for the Nifty-IAP application.
Point your browser to the iTunes Connect portal’s login page and use your Apple Developer ID and password to sign in. When you see iTunes Connect’s home page, click the My Apps icon. In the My Apps page that appear on your screen, click the blue + button then select New App from the pop up menu.
Fill in the New App form with your own information. The image below shows what the form looks like with my information filled in.
Upon successfully completing above form and clicking the Create button, your screen will look similar to this one.
That’s it you are done setting up an iOS app record in iTunes Connect for the Nifty-IAP application. By the way, if you want the Nifty-IAP app icon to appear on the My Apps page. Do the following:
- Click the Prepare for Submissi… link and scroll down to the General App Information section. Click the Choose File link.
- In the Finder window that appear on your screen, select the image, iTunesArtwork@2x.png from the Nifty-IAP project’s iTunesArtwork.imageset folder and click the Open button.
- When iTunes Connect finish uploading the image you selected; click the Save button in iTunes Connect’s form; which is located in the upper-right corner of the page. Next, navigate to iTunes Connect’s My Apps page. The Nifty-IAP app icon should now look like third image shown below.
Task 3
You have to setup 4 None-Consumable products in iTunes Connect web portal for the Nifty-IAP application. Before proceeding you have to use your iOS device to capture a screenshot of the Nifty-IAP app’s ProductView. You’ll be uploading it soon in iTunes Connect. The instructions on how to do that is found here. Don’t forget to rename the screenshot to iphone4s-screenshot1.png.
Now, here are few important things you should know upfront about the iTunes Connect’s In-App Purchase form, you will use to setup In-App Purchase Products:
- All fields on the web form are editable; except the Product ID field.
- A Product ID can only contain alphanumeric characters, underscores, and periods.
- You can’t re-use a Product ID that’s associated with a deleted In-App Purchase product.
- You will use the same product identifiers you adding in the Nifty-IAP app’s product_ids.plist file, in the web form.
With that said, click the link in the upper left corner of your screen. From the pop up window shown on your screen-see image below, click the My Apps icon.
Next, click the Nifty In-App Purchase icon. This will take you to the App Information page. Here are the steps to setup the first In-App Purchase product.
1. Click the Features tab and the In-App Purchases page is shown on your screen. Click the blue + button.
2. On the next page shown on your screen, click the Non-Consumable product type’s Select button.
3. On the form that’s shown on your screen, enter this information in its fields.
Reference Name | Hello | ||||||
Product ID | net.theapplady.Nifty_video1 | ||||||
Clear for sale | Yes | ||||||
Price Tier | Tier 1 | ||||||
Language |
|
||||||
Hosting Content with Apple | No | ||||||
Review Notes | sandbox test user login ID: emafurgerson@mail.com sandbox test user login password: G54nv4rF9 |
||||||
Screenshot for Review | iphone4s-screenshot1.png |
Now, repeat step 1-3 above to set up the second Non-Consumable product in iTunes Connect. What to put in the form is shown in the table below.
Reference Name | Crazy | ||||||
Product ID | net.theapplady.Nifty_Video2 | ||||||
Clear for sale | Yes | ||||||
Price Tier | Tier 1 | ||||||
Language |
|
||||||
Hosting Content with Apple | No | ||||||
Review Notes | sandbox test user login ID: emafurgerson@mail.com sandbox test user login password: G54nv4rF9 |
||||||
Screenshot for Review | iphone4s-screenshot1.png |
Repeat step 1-3 above to set up the third Non-Consumable product in iTunes Connect. What to put in the form is shown in the table below.
Reference Name | Shake It Off | ||||||
Product ID | net.theapplady.Nifty_Video3 | ||||||
Clear for sale | Yes | ||||||
Price Tier | Tier 1 | ||||||
Language |
|
||||||
Hosting Content with Apple | No | ||||||
Review Notes | sandbox test user login ID: emafurgerson@mail.com sandbox test user login password: G54nv4rF9 |
||||||
Screenshot for Review | iphone4s-screenshot1.png |
Repeat step 1-3 above one last time to set up the fourth Non-Consumable product in iTunes Connect. What to put in the form is shown in the table below.
Reference Name | Skyfall | ||||||
Product ID | net.theapplady.Nifty_Video4 | ||||||
Clear for sale | Yes | ||||||
Price Tier | Tier 1 | ||||||
Language |
|
||||||
Hosting Content with Apple | No | ||||||
Review Notes | sandbox test user login ID: emafurgerson@mail.com sandbox test user login password: G54nv4rF9 |
||||||
Screenshot for Review | iphone4s-screenshot1.png |
When you finish setting up the last Non-Consumable product in iTunes Connect, the In-App Purchases page should look like the one shown below. Later on, when you populate the Nifty-IAP application’s tableView rows, you can capture another screenshot and replace the image you uploaded for the products you just set up in iTunes Connect.
Task 4
The last task you have to do today is setup a sandbox user account in iTunes Connect web portal.
A sandbox user account consist of an alternate Apple ID and password which you use to test In-App Purchase you’ll soon implement in the Nifty-IAP application. Testing IAP is done in what Apple calls a sandbox environment. In a sandbox environment, real money isn’t withdrawn from your bank account, when you purchase a product within the Nifty app store. You can setup as many sandbox user accounts as you like in iTunes Connect; however, you’ll only setup one today.
Before you get started in setting up a sandbox user account in iTunes Connect; take some time to create a spreadsheet with the relevant sandbox user information, as shown in the image below. The reason for doing so follows:
- You cannot edit the sandbox user account once it is created in iTunes Connect web portal-you can only delete it.
- Each sandbox user account is tied to one and only one email address. As such, you cannot reuse an existing email address with another user account.
- The email address must be one you own; because Apple will ask you to verify it.
Bear in mind that when you delete a sandbox user account you create in iTunes Connect, you cannot use its email address for a new sandbox user account or a new iTunes Connect user account.
The spreadsheet shown in above image was created in the spreadsheet application called Numbers. As you can see, I gave the sandbox tester’s account a name which reflect the app being tested. I provided the app’s version number and the language being tested. I correlated the language with the App Store territory.
Ok, let us get to work in setting up a sandbox user account in iTunes Connect web portal. Click the link in the upper left corner of your browser. In the pop window shown on your screen, click the Users and Roles icon.
On the Users and Roles page, click the Sandbox Testers link. On the Sandbox Testers page, click the blue + button. When you see the Add Sandbox Tester page-see image below; enter the spreadsheet information you prepared earlier on, in the form’s fields and click the Save button.
When you click the Save button in above form and all is well, your screen will look something like the one shown in the image below.
That’s it! You’ve performed all tasks that’s on the second card; which was presented at the beginning of today’s tutorial. Next week you tackle the first four tasks that’s on the third card.