Hello, friend.
Welcome back.
In a previous video, we successfully complete our check out Pollution's right now if you go to your
car and if you go through our process to check out.
So that is our check out Paice.
So now I want to do I want to work for our payment options like there have already all that our product
with the quantity.
And that is also there is our order totals.
Right.
So now we will work for our payment.
Complete options for doing this here.
I want to turn to the final step up on the condition.
Like if you want to add that payment, then must you have to add your all the shipping details?
Right.
So here I want to define this type of conditions.
So for doing this in our model area, if you go to our payment, that means our ad payment in the model
into the model area.
I have already defined one of the function.
So with this function, we will check that all that field is empty or not.
Right.
So now I want to do I want to call this function.
So I want to call this function in our app payment and that is our view.
So now we have to work on particular that area.
So that is our checkout in the checkout area.
I have already passed some form.
So here I have the form.
I have passed that our order item.
Right.
And also I pass our order total.
And also here we have to do we have to pass out all the billing address details.
So here I take the things with this object that means this one that will are address.
So with this, we can actually defining it so better.
I want to do and also pass it.
So after this also on the pass our save address.
OK, so I just simply pass it.
So I pass it in our checkout page that we send our check out notice Tamalpais.
So now go to our template.
So that is our template and that is our app payment and that is our check notice.
Tamalpais.
So here I want to do want to define this condition.
I want to define this condition in our particular that area.
So that is, you know, are another one.
There is another call and three.
Right.
So there is our call in between.
So first of all, here, so that is our device after this dip here, I want to define this condition.
So if you want to define this condition, you have to define that our double percent is and here I define
our if if our this form, that means here I passed.
So in our view, in the view here, I passed our save addresses data.
Right.
So now I just simply pass it, say just simply pass it.
If our say that data is in in our model area into the model area for the billing address here, I have
already defined that function.
Right.
So our function name as it is fulfilled.
So with this function we'll take it our field is empty or not.
Right.
So now I just want to know how to access our this function.
So after this address here, I'm going to do in Texas our function.
OK, so here it will be.
Check that all the fields fill up or not.
And also after that I define as ls and also our and if so I just simply define as and if so Voynich
will be as a check that between our all the field will be fill up then it'll be show that Harry button.
So then it will be better.
I just put on the glass, I just put the glass, the meeting between I can be done with an awning and
then beaten.
I make the things as a medium sized assembly.
OK.
And also shall be sure as a mic payment.
So shall we show this step of one of the button.
And I also should be displaying other things like first of all, I want to check it like if you're not
clear to save all.
And everything is running well, so now I have to check it right now, I have fill up all the taufiq
now if you refresh it.
So here is getting that on a barrel, as argumentative as a non type is incredible.
That means here, here, Pouncer save address.
So let's check this out.
So maybe they have some of the issues, you know, check out here.
I pass or save addresses, all the data.
So that is, you know, our model into the model area.
I have defined our function as a easeful function so that all non type, you can see that I'm using
that in it will be as actually is OK.
That one value is that is Evolutis non or the value is empty, then it should be done the false.
So here I am used that one.
That is actually lower error actually.
So that's going to save all again.
You is also showing that arrow.
So now it's perfectly running, so no, I freshet again.
Yeah, now not perfectly loaded, so here right now and fill up all our fields, if you make that feel
as empty as a Sable's.
Yes, you can see snowshoeing of the shipping address save.
And also here you can see our dispersement button is not visible because of all with this here, I defined
this condition.
So in our checkout page, I define that condition in our save this area and Aless still Biche I here
I wanted to show some of the message.
So I just take one of the Dave and I just simply funnel the glass as our large.
I laughed alert and here at the front of the info class, I'm here at the front of the battlegroup that
missing our bettag here at the front of the message as a please, please feel up all the information
to make a payment.
So this type of Anastasia's will be displayed, OK, so that is our assumption area.
Now, if you look at the all this right now, it should be visible on here.
So just continue.
Yes.
You can see it's not perfectly visible.
One of the message as a fill up, all that information is to make a payment.
And when you fill up your all that information, like name it as you USA are all the is known for and
actually fill up the save address.
Yeah.
Because after that we start showing our Mac payment so bitter I want to turn taps on the head if that
means after this.
I was also on the bracket so I just take both of these bracket to save Savol.
Now refresh it.
Continue.
Yeah.
And obviously still perfectly display.
Our buttons are better under the last area I came to.
The last I want to do and that's some of the bracket that it's a little bit easier to save all three
freshet.
Yeah, Nagasu is now actually better.
So here I think you can all understand about it.
So now if this field is empty, then I this battle will be visible.
So if you want to make a payment, master, you have to do you have to fill up all the to your shipping
address.
Right.
So, no, I just simply put out the address, OK, I just put on that just as the USA and a save address
now or make payment button is visible.
So now for education purposes, I want to do want to use one of the payment gateways.
So that is one of the payment gateway as as the SSL e-commerce.
And also they are actually providing some of the free epper for that Willapa.
So you can see their elected leaders develop our SSL, e-commerce and the radio station.
So from here you have to do you have to create the Gamla account like here to create Borgs, Soheir,
whatever you want.
Right now if you put the W dot A.B.C. dot com, it doesn't matter that you actually putting that your
appropriate domain name.
So that is for the developer purposes.
So here I just simply finding it, then put your company name and then put your company address and
then you just, you have to do we have to put your name OK and then your email address and the password
and whatever the email address will put in particular that area, they will send some of the informations
to your email.
OK, that is very, very important.
So they will send this tape of one of the email sent to the email address.
You will get one of the ideas.
So that is clearly storewide.
And also they will provided one of the API key.
So that is the API is very much important.
So make sure you put your appropriate email address and the password so it is totally free of the system.
You can actually browse it and you can check it with this.
OK, so no, I want to do for this project.
I want to use it.
So that is our API.
I have getting this mail perfect.
And also after that we have to do we have to add these SSL e-commerce.
So this is a silly combers that I have also on the packets we have to install.
So there is a package actually by install SSL Commerce and the Python.
OK, so that is also providing all that our investigation.
What exactly you have to do step by step will cover it.
So don't worry about it.
So I will show you.
So first of all, here you have to do you have to copy this package.
So I just simply copy it.
Now go to your side and here now I disclose it and now I open it.
And here you have to do you have to add it.
That means I just simply paste it so that the peop install SSL commas and python and then you have to
do the Android.
So make sure you're connected to the Internet because it will be downloaded all the files from the Internet.
So you may take a little time, but here you can see I have already installed it for the reasons you
are showing us it already satisfied, so make sure you install it.
So that is actually one of the feedback is that the package you have to install in your system and also
after that you have to do you have to install on the request because that means, you know, hour after
that, after that, you have to install another one as a beep and install and then request a request.
So make that sure that is our teacher.
So could that be the request?
So that is one of the packages.
You have to install it because of all the have another package that the peop install and request.
OK, so you have to install actually that request.
So that is our beep installed request.
Perfect.
And after that you have to be able to enter.
Yeah, it is also installed successfully.
So that is the things we have to do.
So right now I successfully install our these packages and here also is providing all that our information
system by step will cover it.
And here, as I told you, you have to create an account and they will provide it on the step up on
the API.
So that is actually one of the API and that is one of the idee.
So if you will understand about this, how can working with the API and how can edit some of the third
party API to your project, then if you want to add that PayPal, then you can also add it, you know,
general project.
So right now for education purposes.
So I will use this payment gateway.
So with this, we can actually edit our all the payment with the credit card, debit card and the mobile,
all the services and also with the mobile payment and much more system established for you.
So right now that is our project.
So that is a payment area.
So how can do that work?
In our next video, I will show you that things with a live example.
So thanks for watching and I'll see you the next video.