Today you will perform pre In-App Purchased tasks shown on this card.

tasks-card2

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:

  1. So Apple can send you funds collected on your behalf
  2. To see all product types in iTunes Connect web portal
  3. 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.

iTunesConnect-fig00

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.

iTunesConnect-fig02

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.

iTunesConnect-fig03a

Fill in the New App form with your own information. The image below shows what the form looks like with my information filled in.

iTunesConnect-fig04

Upon successfully completing above form and clicking the Create button, your screen will look similar to this one.

iTunesConnect-fig05

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:

  1. Click the Prepare for Submissi… link and scroll down to the General App Information section. Click the Choose File link.
  2. 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.
  3. 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.

iTunesConnect-fig08

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:

  1. All fields on the web form are editable; except the Product ID field.
  2. A Product ID can only contain alphanumeric characters, underscores, and periods.
  3. You can’t re-use a Product ID that’s associated with a deleted In-App Purchase product.
  4. 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.

iTunesConnect-fig12

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.

iTunesConnect-fig09

2. On the next page shown on your screen, click the Non-Consumable product type’s Select button.

iTunesConnect-fig10

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
Language Display Name Description
English Hello Adele Hello music video
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
Language Display Name Description
English Crazy Gnarls Barkley Crazy music video
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
Language Display Name Description
English Shake It Off Taylor Swift Shake It Off music video
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
Language Display Name Description
English Skyfall Adele Skyfall music video
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.

iTunesConnect-fig11

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:

  1. You cannot edit the sandbox user account once it is created in iTunes Connect web portal-you can only delete it.
  2. 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.
  3. 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.

niftyiap-figure5-1

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.

iTunesConnect-fig12

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.

niftyiap-figure5-2

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.

niftyiap-figure5-3

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.

Tags:

No responses yet

Leave a Reply

UIDocument Demystified: A Step-by-step Guide on Local and iCloud Document Storage

 

Archives