1
00:00:06,640 --> 00:00:08,430
Hey everybody what's going on.

2
00:00:08,440 --> 00:00:10,560
Caleb here with the slopes dot com.

3
00:00:10,560 --> 00:00:15,510
And in this video we're going to continue in with iTunes Connect and setting up our in app purchased

4
00:00:15,510 --> 00:00:16,280
tears.

5
00:00:16,290 --> 00:00:21,180
So let's go ahead and let's pull up an iTunes Connect like we've had in the last video and we're going

6
00:00:21,180 --> 00:00:24,420
to go ahead and add some in-app purchases now to do this.

7
00:00:24,420 --> 00:00:26,310
Go ahead and click.

8
00:00:26,310 --> 00:00:31,380
Plus choose consumable and well you know what while we're here why don't we look at all the different

9
00:00:31,460 --> 00:00:32,650
in-app purchases types.

10
00:00:32,670 --> 00:00:38,340
The first one is consumable and it's a product that is used once after which it becomes depleted and

11
00:00:38,340 --> 00:00:39,750
must be purchased again.

12
00:00:39,750 --> 00:00:44,280
So an example is fish food for a fishing app you have to keep feeding your fish so you have to keep

13
00:00:44,280 --> 00:00:49,680
buying fish food if you know the game Candy Crush Saga I guess is the full name.

14
00:00:49,680 --> 00:00:53,850
You have to buy hearts if you run out or you can ask friends on Facebook and be that person.

15
00:00:53,850 --> 00:00:57,910
But anyway that's a consumable purchase one that you have to buy over and over again.

16
00:00:57,930 --> 00:01:00,940
And it can be depleted which is why I thought about food.

17
00:01:00,960 --> 00:01:01,470
OK.

18
00:01:01,740 --> 00:01:05,820
So because food you have to buy and you eat it and then you buy it again you eat it.

19
00:01:05,820 --> 00:01:08,690
So consumable you can consume it makes sense.

20
00:01:08,730 --> 00:01:14,910
Next is non consumable which is a purchase that is purchased once and does not expire or decrease with

21
00:01:14,910 --> 00:01:15,370
use.

22
00:01:15,390 --> 00:01:20,420
For example a racetrack for a game app you could buy a new racetrack and then you have access to that.

23
00:01:20,610 --> 00:01:23,480
So that's kind of like buying buying a new gadget.

24
00:01:23,520 --> 00:01:24,100
Right.

25
00:01:24,120 --> 00:01:30,060
It's not consumable you buy it you use it but there's not like a limit to how much you can use it or

26
00:01:30,060 --> 00:01:32,270
it doesn't expire or decrease with use.

27
00:01:32,310 --> 00:01:36,360
I guess some gadgets you know after a while they're not really usable You have to buy a new one but

28
00:01:36,570 --> 00:01:38,850
for the most part they're not consumable.

29
00:01:38,850 --> 00:01:43,260
The hiding adds functionality is going to be a non consumable purchase for us.

30
00:01:43,260 --> 00:01:48,270
We're not going to talk about subscriptions just yet because that will be in the next target topic but

31
00:01:48,510 --> 00:01:55,020
let's go ahead and let's create this consumable in at Purchase click Create and it'll bring open a nice

32
00:01:55,080 --> 00:01:55,740
page here.

33
00:01:55,740 --> 00:02:00,210
Now this is a reference name which as you can see the reference name is going to be used on iTunes Connect

34
00:02:00,510 --> 00:02:07,140
and sales reports it's not going to be used in like the public you know consumer facing App Store so

35
00:02:07,440 --> 00:02:08,640
we can them whatever we want.

36
00:02:08,640 --> 00:02:11,250
I'm just going to call it one meal.

37
00:02:11,600 --> 00:02:12,170
OK.

38
00:02:12,510 --> 00:02:13,440
The Product ID.

39
00:02:13,440 --> 00:02:19,620
This is where we need to give it a custom identifier so I'm going to use the same reverse domain formatting.

40
00:02:19,690 --> 00:02:29,700
So com dot let's say in-app purchase or maybe IAP would be better a little shorter combat IAP course

41
00:02:29,910 --> 00:02:31,840
dot meal.

42
00:02:32,160 --> 00:02:32,690
OK.

43
00:02:32,910 --> 00:02:37,620
So basically the meal and that's a part of the IAP course and like the dot.com reverse thing that's

44
00:02:37,620 --> 00:02:42,320
just the typical way of doing identifiers so you can name that or whatever you want.

45
00:02:42,390 --> 00:02:48,560
Now one meal in my app I made it nine ninety nine because that's a pretty common price for a full meal.

46
00:02:48,570 --> 00:02:50,590
So 999 is going to be the price.

47
00:02:50,600 --> 00:02:54,990
And of course if you'd like to you can go and then you can choose other currencies or you can see what

48
00:02:54,990 --> 00:02:58,600
the conversion rate is for other currencies which is pretty neat.

49
00:02:58,740 --> 00:03:02,960
The localization by default is US English or the same language as the app.

50
00:03:02,970 --> 00:03:07,810
But if you wanted to you could go in and add all kinds of localizations for lots of other languages.

51
00:03:07,830 --> 00:03:11,640
So for the display name this is where it's going to show up.

52
00:03:11,640 --> 00:03:17,020
And when you tap on the button it's going to pop up saying would you like to buy one the display name.

53
00:03:17,040 --> 00:03:22,950
So I'm going to go ahead and just say Neil or you know what I'm going to do this in lower case I believe

54
00:03:22,980 --> 00:03:32,460
because when I popped it up it said like would you like to do by one meal and it looked weird having

55
00:03:32,460 --> 00:03:36,220
a capital letter there so I'm just going to say Neal.

56
00:03:36,750 --> 00:03:44,030
And we're going to say one full delicious meal because that's the description.

57
00:03:44,030 --> 00:03:44,690
OK.

58
00:03:44,760 --> 00:03:47,180
Now at this point everything else is optional.

59
00:03:47,190 --> 00:03:48,360
You can do it if you want.

60
00:03:48,360 --> 00:03:53,670
You can add in the app store promotion image you can add a screen shot review notes if you're going

61
00:03:53,670 --> 00:03:55,100
to submit this to the App Store.

62
00:03:55,260 --> 00:03:55,990
Do this.

63
00:03:56,010 --> 00:04:01,590
It's very important that the App Store reviewers have an idea of how everything works and what everything

64
00:04:01,590 --> 00:04:02,290
looks like.

65
00:04:02,430 --> 00:04:08,590
And this also will just give you a great way to promote your in-app purchases so might as well do it.

66
00:04:08,700 --> 00:04:09,080
All right.

67
00:04:09,090 --> 00:04:14,370
So with all this typed and entered we have our identifier we have our reference name our display name

68
00:04:14,430 --> 00:04:17,690
as well as our description and our price here.

69
00:04:17,730 --> 00:04:22,990
Go ahead and click save like so.

70
00:04:23,230 --> 00:04:26,380
And as it saves it might take a little while actually.

71
00:04:26,570 --> 00:04:31,020
We're going to go ahead and talk about sandbox users which is our next thing.

72
00:04:31,310 --> 00:04:36,230
So this appears to be saved and it'll say missing metadata simply because there's a lot of things that

73
00:04:36,230 --> 00:04:42,950
we did not add like certain localization information and other stuff which later on if we're submitting

74
00:04:42,950 --> 00:04:46,090
to the App Store We will talk about that that will be another target topic.

75
00:04:46,160 --> 00:04:48,870
But for now let's just focus on in-app purchases.

76
00:04:49,070 --> 00:04:53,350
So if we go back to in-app purchases you can see one meal shows up there.

77
00:04:53,450 --> 00:04:54,250
Very very cool.

78
00:04:54,320 --> 00:04:56,780
And there's our product ID that we're going to use.

79
00:04:56,880 --> 00:05:03,140
So now we need to talk about how we're going to create the accounts for people to actually even use

80
00:05:03,140 --> 00:05:04,600
these in-app purchases.

81
00:05:04,640 --> 00:05:10,250
And when you're testing there's something called a sandbox user now sandbox is usually used to explain

82
00:05:10,250 --> 00:05:12,800
like a place where things are tested or played around in.

83
00:05:12,840 --> 00:05:19,880
So to create a sandbox user We're going to go to users in rolls they click on that then right when it

84
00:05:19,880 --> 00:05:25,050
loads you have an option for sandbox testers so click on that.

85
00:05:25,160 --> 00:05:29,440
This is a list of all of our sandbox testers there blurred out just for the purposes of this app.

86
00:05:29,450 --> 00:05:32,170
But I'm going to add a new one to show you how to do that.

87
00:05:32,180 --> 00:05:34,660
So go ahead and click on the plus sign here.

88
00:05:34,910 --> 00:05:39,760
And you just need to kind of make up information for this test or so I'm just going to say test.

89
00:05:39,770 --> 00:05:40,630
Whoops.

90
00:05:40,660 --> 00:05:44,320
How about Mr. test.

91
00:05:44,360 --> 00:05:47,880
Not with two t's and his e-mail will be Mr..

92
00:05:48,140 --> 00:05:51,360
Test at gmail dot com.

93
00:05:51,380 --> 00:05:53,950
His password will be capital T.

94
00:05:53,990 --> 00:05:57,850
Test test 1 two three exclamation mark.

95
00:05:57,980 --> 00:05:59,270
The password for that will be.

96
00:05:59,270 --> 00:06:04,820
Test test one two three exclamation mark and if you're thinking a ha ha ha ha I can use this account

97
00:06:04,820 --> 00:06:07,010
now to buy whatever I want it's not true.

98
00:06:07,070 --> 00:06:07,900
Doesn't actually work.

99
00:06:07,940 --> 00:06:10,430
So I'm going to do a secret question.

100
00:06:10,550 --> 00:06:12,670
What is a test.

101
00:06:13,190 --> 00:06:15,840
And I'll just type the password so I can remember.

102
00:06:16,050 --> 00:06:16,320
OK.

103
00:06:16,340 --> 00:06:21,620
Of course these are fake counts they're not linked to a credit card or any type of information so totally

104
00:06:21,620 --> 00:06:25,620
safe to use without worrying about wasting your money.

105
00:06:25,640 --> 00:06:26,680
So very cool.

106
00:06:26,690 --> 00:06:29,070
Here's the information for Mr. test.

107
00:06:29,090 --> 00:06:34,800
And I'm going to go ahead and save that now for consumable and non consumable purchases.

108
00:06:34,910 --> 00:06:42,560
You don't need to verify this e-mail although an e-mail will get sent to this person so it's best to

109
00:06:42,560 --> 00:06:44,270
use a real e-mail but you don't have to.

110
00:06:44,270 --> 00:06:46,960
When we deal with subscriptions we will have to confirm that e-mail.

111
00:06:46,970 --> 00:06:49,980
But anyway let's go ahead and let's do this.

112
00:06:49,970 --> 00:06:52,980
It says it's not available for use.

113
00:06:53,000 --> 00:06:56,540
OK so it appears that this is already an e-mail so let's do Mr. test.

114
00:06:56,540 --> 00:06:58,100
One two three.

115
00:06:58,100 --> 00:07:00,000
Pretty sure that's not a real e-mail.

116
00:07:00,050 --> 00:07:00,670
And there we go.

117
00:07:00,670 --> 00:07:07,790
So now if you look right here we have Mr. test one two three at gmail and we can use that as an Apple

118
00:07:07,790 --> 00:07:09,260
I.D. and I'll show you how to do that.

119
00:07:09,260 --> 00:07:12,880
There's a very specific process later on that you'll need to pay attention to.

120
00:07:12,890 --> 00:07:14,330
But check it out guys.

121
00:07:14,330 --> 00:07:19,630
We now have a sandbox tester which we can log in to this account and we can test our in-app purchases.

122
00:07:19,790 --> 00:07:26,270
And if we go back to apps I want to remind you inside of food Zyla of slopes we can go in we can choose

123
00:07:26,330 --> 00:07:28,430
features in-app purchases.

124
00:07:28,460 --> 00:07:35,810
And here we go our consumable one meal at purchase for $9 and 99 cents with an identifier of Comcast

125
00:07:35,900 --> 00:07:37,490
IAP course meal.

126
00:07:37,490 --> 00:07:41,960
Super cool guys we're getting close to being able to actually use this in the next video we're going

127
00:07:41,960 --> 00:07:46,310
to start building our interface and then we'll get right into code very very soon.

128
00:07:46,310 --> 00:07:49,640
But guys seriously this is this is not very hard.

129
00:07:49,640 --> 00:07:53,350
Before I knew about this I always thought it must be really difficult to set up an app purchases.

130
00:07:53,360 --> 00:07:58,730
But it's not it's easy peasy Apple has done a lot of work to set this up for us so it is easy to go.

131
00:07:58,730 --> 00:08:00,680
So let's head over to the next video.

132
00:08:00,770 --> 00:08:02,200
Let's start building our app interface.
