Hello, friend will come back in a previous video, we have added our all little order, so here also
I pass all the details, right?
So now also we have to do we have to add our to another function.
So here, but I just copy both of this.
So I just copy both of these and here after this.
OK, so after this here, I just have a look at it so that it will be in that position that here that
means that it's actually the main position.
So I had to simplify it.
So here also we have to do we have to pass all the tower profile details.
So that is also our all the profile details and that is our shipping details.
Right.
So there is all shipping details.
So here that is our profile details.
That means which user is currently logged into this current user details.
We have to display it.
So if you want to display it.
So first of all, you have to do have to define our current.
That means our current users status simply defined the current current underscore user.
Current user means our request to do the right.
So that is all registered user.
So I just simply defining it.
So with this current user, we can actually display all that.
Our current user name email the address at this toolset.
So everything we have already defined, if you go to our app logging, if we go to that uploading model
here, you can see that the profile.
So with this profile, we can actually access our full name, the address, code and phone everything.
So also here I define our current user, right.
So that is our current user.
So with this current user, that is our name.
So if you want to display that name that you have to do, we have to display it here.
I define our full name.
OK, so I just simply define our current users with this current user.
If you want to access it, then you have to do have to go to the profile and with this profile and to
access out this full name.
OK, so just simply define the profile so that the word profile and then I want to do and access our
full name.
So our full name as a field name.
As a full name.
So I just simply define that full name.
Right.
And also there is an email from Texas that email list will be just like the same that the current user
say just simply define the current user and the current user.
That will be as a profile, as a profile.
So into the profile, if you go to that model, into the model you can see here, I didn't define an
email because of all email is actually by default our user.
That means here that is building up the field.
So if you want to access the building, feel here, you don't need to add that profile.
It'll be direc our filename as email.
So I just simply definer the email.
So that will be our email that the current user email address and also that address.
So if you indexes that address, it will be in our profile.
That means here that is our current user profile and then in our model.
So that address one.
Right.
So now I just simply define after this.
That will be our address one.
And also for the address too.
I want to do the same.
I just want the same things.
So I just simply pass our current user profile address one, OK?
And then the city city will be just like the same.
But I just simply copied here.
I pasted that in the current user profile, current user profile and that is actually the city.
So just simply after that, I live in the city.
OK, and then also there is a post code.
Post code will be just like the same.
I just simply copied it and it'll be the current user profile.
And then the post code that in that you say is simply defined, that zip code and then our another one
as a country.
So I just simply defend the country and then our phone number.
So it just simply defining it so that this current country will be our current user profile, current
user profile that is a country and there is a phone.
So I just simply defined as a country and then current user form that will be our name as a phone.
So just simply after that, define that phone, OK?
So here is a second P pass all that our current do the profile details in our particular data area and
after that that will be our shipping details.
And for the shipping details here, I have already defined I fugo our payment with the payment here.
You can see that is actually our shipping details.
I get all that billing addresses.
So that is our it is better.
I wanted to add another variable.
OK, just add another variable to the saved address.
I just take it and into this save address area.
I want to do the password, this one that comes with this object data.
So there are some people that object to that.
So now we can actually access directly.
That is our address as.
OK, so you do the same with this.
Yeah, I just passed that objects for the reasons here.
Now we can actually.
It with this address variable, so no one to do under user state assembly, copy it and now here, that
is all the shipping details.
So that is our shipping to so shipping to will be our current user.
That means that is actually a current user profile for name.
So here.
But I just simply copied and here I wanted to pass it.
So in particular that position I just simply posted our current user profile full, OK, and then also
we have to we have to add that address, post card and everything.
As I told you, everything will be comes from our billing details.
That means the billing addresses.
So here I take that all the data with these same addresses, if you go to our payment, that payment,
if you go to that module here, you can see that our billing address.
So the billing address, that is our user.
So that is our address.
Zip code, the city and the country.
So now I don't want to pass everything.
So we are trying to pass everything with our disabled address.
So now here that is our shipping to the current user.
And the address at this will be our address and with the same address, our freedom.
Our name will be as the address.
Right.
So to simply define this address current, I think is very much clear to you.
And also we have to define our city.
City will be the same our same address and with the same address I want to do in Texas, our another
building feel that will be as a city.
So for the city, I have defined that filename as a city.
So now I just simply defined the city and also the postcode code.
So that will be the same address.
Better I just copy it.
OK, just copy it.
That will be the post code and that will be as a country.
So code will be, I name it as a code.
So I'm just simply defined as the zip code and the country.
I just simply define that country and that will be as a country Paxford.
So here we successfully defined all the Darfield system, perfectly adequate to our all the profile
details, and that is our shipping or the billing details.
Right.
So here, define two of this.
Perfect.
And now after that, we have to do we have to add our last one that means here.
So with this actually confirm it, that means this function is perfectly working on.
Not so here after this.
I just simply passed it.
OK, so here I just simply paste it and then our little Sunlander so that it will be alright and endor.
So now if you want to check it, like our response to what exactly that thing's actually showing.
So here I define the pened, I want to check it fast.
I print our this response data.
So here I just simply define our response data.
Now if you click the save all so.
Yeah, subways running well.
So now here I just click, enter.
And now if you go to our site now, we can see each step in this city and respond to this cesspool that
actually providing that his status is status is a successful and also showing our station key is automatically
generated on the station key.
And that is our gateway.
That means our gateway Pasquarelli will be this one.
OK, so that will be our gateway.
What else?
We have to use it.
OK, so we can use it without this gateway.
Pasquarelli better to simply copy it.
So now here we don't need that print so to simply remove it.
OK, so in the written response that there before I have passed that things with our payment pace right
now we have to do, we have to pass it in our Gateway page.
You are OK.
So for doing this year, we don't need this site as it is to be done our redirect.
So here at the front of the return directly and with this response data response that also with this
response that I want to do and pass our this gateway.
So that is our gateway baseball.
OK, let me get a page also.
That will be our rebuttal.
So now here I just simply pass it.
So here I just simply pass it.
So now I think everything is very much clear to you.
So now let's check this out.
Our everything is working on not save all.
You know, first of all, a ticket, everything is running well and now go back.
And now I just go to our car base again, not clear the process to check out, so that is our total
amount in dollar so as to make a payment.
Yes, you can see snow perfectly loaded our payment gateways, so that is our payment gateway, that
is all that our card system and all systems showing our appropriate payable amount.
Right.
So here I have defined the ability so bitter.
Here I make the 10000 USD OK.
I just make that things that the currency will be as it used the currency.
So that is our gateway nuclear to save all sorts will be sure our use to OK and also that on mobile
banking.
So from here you can define your mobile banking.
That is a net banking.
Everything is now perfectly loaded on here.
So if you go to that mobile and there is a rocket.
OK, so if you click on particular, that position now can see snow perfectly showing our amount so
that the amount is perfectly visible and that is our OTP details.
So that is low on the demo account.
Right.
So here we are using some of the demo account and that is a success.
So if you click as a success, then it will be sure some of the forbidden message and into the forbidden
message is not showing as is causative and validation failed.
So by default, that is actually one of the postmaster.
Right.
So here there is a different API.
So here we have to do we have to minimize our disks.
OK, so here, if you want to minimize it, they have also the function as a Casares exempt.
So here with this, we can actually reduce it like here if you want to do that, work, in our view,
into the area.
After this, we have to do we have to import something important of the function like that is in our
form.
So from our Django.
So from the Django interviews and from here there is a decorator's.
OK, decorator's from the decorator's.
That is the SRF so that those see SRF.
And from here you have to import one of the function as a C srf underscore exempt.
OK, so just simply defining it.
OK, so here we have to do we have to add it.
That means add this function and then in our this method that means here to have the the method as a
complete matter.
Right.
So here it goes.
After that we selected our payment into the soil.
So we get connected to a payment, is then actually showing our this forbidden message.
So here we have to do we have to not use that or locking the card here we have to define our CSF exempt.
So now is not should be visible.
So difficult to save all.
And now if you refresh it.
So now showing our another one of the appartement views completely, then I didn't return and his TDP
response object, OK, because of all here, I didn't define as a return.
Here you can see there is also putting all that oddities.
That is transitionally it is not showing that is are valid icon that validated that his value is visible,
that amount is visible, the type is visible, every data.
So here we get our every data.
OK, so whatever the data you want to actually pass to our disposition, then you can pass it somehow
can pass it.
In our next video, I will show you that things with a live example.
So thanks for watching and I'll see you in the next video.