Hey everybody what's going on.
Caleb here with the slopes dot com.
And in this video we're going to continue in with iTunes Connect and setting up our in app purchased
tears.
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
to go ahead and add some in-app purchases now to do this.
Go ahead and click.
Plus choose consumable and well you know what while we're here why don't we look at all the different
in-app purchases types.
The first one is consumable and it's a product that is used once after which it becomes depleted and
must be purchased again.
So an example is fish food for a fishing app you have to keep feeding your fish so you have to keep
buying fish food if you know the game Candy Crush Saga I guess is the full name.
You have to buy hearts if you run out or you can ask friends on Facebook and be that person.
But anyway that's a consumable purchase one that you have to buy over and over again.
And it can be depleted which is why I thought about food.
OK.
So because food you have to buy and you eat it and then you buy it again you eat it.
So consumable you can consume it makes sense.
Next is non consumable which is a purchase that is purchased once and does not expire or decrease with
use.
For example a racetrack for a game app you could buy a new racetrack and then you have access to that.
So that's kind of like buying buying a new gadget.
Right.
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
it doesn't expire or decrease with use.
I guess some gadgets you know after a while they're not really usable You have to buy a new one but
for the most part they're not consumable.
The hiding adds functionality is going to be a non consumable purchase for us.
We're not going to talk about subscriptions just yet because that will be in the next target topic but
let's go ahead and let's create this consumable in at Purchase click Create and it'll bring open a nice
page here.
Now this is a reference name which as you can see the reference name is going to be used on iTunes Connect
and sales reports it's not going to be used in like the public you know consumer facing App Store so
we can them whatever we want.
I'm just going to call it one meal.
OK.
The Product ID.
This is where we need to give it a custom identifier so I'm going to use the same reverse domain formatting.
So com dot let's say in-app purchase or maybe IAP would be better a little shorter combat IAP course
dot meal.
OK.
So basically the meal and that's a part of the IAP course and like the dot.com reverse thing that's
just the typical way of doing identifiers so you can name that or whatever you want.
Now one meal in my app I made it nine ninety nine because that's a pretty common price for a full meal.
So 999 is going to be the price.
And of course if you'd like to you can go and then you can choose other currencies or you can see what
the conversion rate is for other currencies which is pretty neat.
The localization by default is US English or the same language as the app.
But if you wanted to you could go in and add all kinds of localizations for lots of other languages.
So for the display name this is where it's going to show up.
And when you tap on the button it's going to pop up saying would you like to buy one the display name.
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
because when I popped it up it said like would you like to do by one meal and it looked weird having
a capital letter there so I'm just going to say Neal.
And we're going to say one full delicious meal because that's the description.
OK.
Now at this point everything else is optional.
You can do it if you want.
You can add in the app store promotion image you can add a screen shot review notes if you're going
to submit this to the App Store.
Do this.
It's very important that the App Store reviewers have an idea of how everything works and what everything
looks like.
And this also will just give you a great way to promote your in-app purchases so might as well do it.
All right.
So with all this typed and entered we have our identifier we have our reference name our display name
as well as our description and our price here.
Go ahead and click save like so.
And as it saves it might take a little while actually.
We're going to go ahead and talk about sandbox users which is our next thing.
So this appears to be saved and it'll say missing metadata simply because there's a lot of things that
we did not add like certain localization information and other stuff which later on if we're submitting
to the App Store We will talk about that that will be another target topic.
But for now let's just focus on in-app purchases.
So if we go back to in-app purchases you can see one meal shows up there.
Very very cool.
And there's our product ID that we're going to use.
So now we need to talk about how we're going to create the accounts for people to actually even use
these in-app purchases.
And when you're testing there's something called a sandbox user now sandbox is usually used to explain
like a place where things are tested or played around in.
So to create a sandbox user We're going to go to users in rolls they click on that then right when it
loads you have an option for sandbox testers so click on that.
This is a list of all of our sandbox testers there blurred out just for the purposes of this app.
But I'm going to add a new one to show you how to do that.
So go ahead and click on the plus sign here.
And you just need to kind of make up information for this test or so I'm just going to say test.
Whoops.
How about Mr. test.
Not with two t's and his e-mail will be Mr..
Test at gmail dot com.
His password will be capital T.
Test test 1 two three exclamation mark.
The password for that will be.
Test test one two three exclamation mark and if you're thinking a ha ha ha ha I can use this account
now to buy whatever I want it's not true.
Doesn't actually work.
So I'm going to do a secret question.
What is a test.
And I'll just type the password so I can remember.
OK.
Of course these are fake counts they're not linked to a credit card or any type of information so totally
safe to use without worrying about wasting your money.
So very cool.
Here's the information for Mr. test.
And I'm going to go ahead and save that now for consumable and non consumable purchases.
You don't need to verify this e-mail although an e-mail will get sent to this person so it's best to
use a real e-mail but you don't have to.
When we deal with subscriptions we will have to confirm that e-mail.
But anyway let's go ahead and let's do this.
It says it's not available for use.
OK so it appears that this is already an e-mail so let's do Mr. test.
One two three.
Pretty sure that's not a real e-mail.
And there we go.
So now if you look right here we have Mr. test one two three at gmail and we can use that as an Apple
I.D. and I'll show you how to do that.
There's a very specific process later on that you'll need to pay attention to.
But check it out guys.
We now have a sandbox tester which we can log in to this account and we can test our in-app purchases.
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
features in-app purchases.
And here we go our consumable one meal at purchase for $9 and 99 cents with an identifier of Comcast
IAP course meal.
Super cool guys we're getting close to being able to actually use this in the next video we're going
to start building our interface and then we'll get right into code very very soon.
But guys seriously this is this is not very hard.
Before I knew about this I always thought it must be really difficult to set up an app purchases.
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.
So let's head over to the next video.
Let's start building our app interface.