1
00:00:00,150 --> 00:00:00,860
Hello, friend.

2
00:00:00,870 --> 00:00:05,980
We'll come back, you know, previous video, we successfully complete our payment options, right?

3
00:00:06,000 --> 00:00:10,740
So here we successfully complete some of the payment and also we successfully completed some of the

4
00:00:10,740 --> 00:00:11,210
order.

5
00:00:11,700 --> 00:00:17,420
So no one to do and visible all the total in our audit area so far, getting all the data we have to

6
00:00:17,420 --> 00:00:19,090
do, have to create all the function.

7
00:00:19,590 --> 00:00:21,670
So now go to our view better.

8
00:00:21,670 --> 00:00:24,470
I just you the save also right now we don't need this.

9
00:00:24,480 --> 00:00:26,460
I just simply remove everything from here.

10
00:00:27,120 --> 00:00:34,170
OK, so I just simply remove everything that means that is in our app blocking the desired payment so

11
00:00:34,170 --> 00:00:36,020
that the app payment and the view.

12
00:00:36,330 --> 00:00:37,650
So here we have to work.

13
00:00:37,660 --> 00:00:41,900
So after that, which I want to do and to create another function.

14
00:00:41,910 --> 00:00:48,330
So here should be also the locking the card, OK, and there will be locking required and here the front

15
00:00:48,330 --> 00:00:52,140
of the function name as a Dave order and risker view.

16
00:00:52,680 --> 00:00:55,500
And under the default view here, we have to pass that request.

17
00:00:56,250 --> 00:00:57,450
That means our request.

18
00:00:57,450 --> 00:01:02,800
And also here is a statement I want to use that is to try and accept your statement.

19
00:01:02,820 --> 00:01:08,810
So with this try and every statement that is also one of the Python Tomcat and handle exceptions.

20
00:01:08,820 --> 00:01:11,790
So that is used for Python catch and handle exception.

21
00:01:11,800 --> 00:01:13,660
So with this, we can actually do that work.

22
00:01:13,680 --> 00:01:16,670
So here I want to do and define as a try.

23
00:01:18,180 --> 00:01:19,560
So I just simply defined as a try.

24
00:01:19,590 --> 00:01:24,840
So if you go to the documentation, you will get a lot of the resources with this as a try and accept.

25
00:01:24,910 --> 00:01:28,080
OK, so now I we use that try and do the Tyria area.

26
00:01:28,080 --> 00:01:30,200
First of all, I want to take all that our order.

27
00:01:30,300 --> 00:01:34,260
So I just take another variable orders and then our order model.

28
00:01:35,070 --> 00:01:35,490
Right.

29
00:01:35,670 --> 00:01:36,180
Sorry.

30
00:01:36,900 --> 00:01:43,380
From our order model I get that object so I get that objects and then filter.

31
00:01:44,370 --> 00:01:49,390
So the filter that that user user, is that our request to do that or not?

32
00:01:50,190 --> 00:01:55,400
So I think you understand it right now, that the user will be at the request of the user.

33
00:01:55,650 --> 00:01:59,700
And also right now our order ID already becomes change.

34
00:01:59,720 --> 00:02:00,050
Right.

35
00:02:00,060 --> 00:02:02,330
So now I ordered that is ordered.

36
00:02:02,340 --> 00:02:03,300
I have changed it.

37
00:02:03,570 --> 00:02:06,780
So now I want to do to get our order will be as a true.

38
00:02:07,500 --> 00:02:09,460
So now I just simply defend the truth.

39
00:02:11,490 --> 00:02:13,590
OK, that is all that our true order is.

40
00:02:13,590 --> 00:02:14,690
Shall we get right.

41
00:02:14,700 --> 00:02:22,050
And then I want to define the context so that the context area and the data that I want to pass out,

42
00:02:22,050 --> 00:02:25,680
these are the data which I take all the time, our complete order.

43
00:02:25,690 --> 00:02:26,940
So that is all that are complete.

44
00:02:26,940 --> 00:02:31,730
Or I take the things with this variable as it orders so no one to do and to pass it.

45
00:02:32,160 --> 00:02:35,020
So here I just simply pass our order.

46
00:02:35,460 --> 00:02:38,330
OK, that means the orders and then our orders.

47
00:02:38,350 --> 00:02:38,840
Perfect.

48
00:02:39,180 --> 00:02:42,360
And also to define another statement that is our accept.

49
00:02:44,300 --> 00:02:46,560
So I just simply cannot accept this statement.

50
00:02:46,560 --> 00:02:48,450
And here I want to do some of the message.

51
00:02:48,480 --> 00:02:51,850
OK, so here I define that messages with the with the army.

52
00:02:53,910 --> 00:03:00,750
OK, I just simply defined as orning and here we have to parse that request and then our message as

53
00:03:00,800 --> 00:03:02,040
a Mm.

54
00:03:02,040 --> 00:03:03,980
It you ok.

55
00:03:03,990 --> 00:03:07,200
You do not ok.

56
00:03:07,200 --> 00:03:09,870
You do not have an active.

57
00:03:11,280 --> 00:03:17,310
Order, otherwise, it shall be displayed the step above the message and then it should be done is to

58
00:03:17,310 --> 00:03:17,980
be done.

59
00:03:18,000 --> 00:03:20,280
Redirect it should be done.

60
00:03:20,280 --> 00:03:22,220
Redirect to our home base.

61
00:03:22,230 --> 00:03:26,000
That means our app shop into the app shop.

62
00:03:26,010 --> 00:03:27,110
That is our home route.

63
00:03:27,130 --> 00:03:27,480
Right.

64
00:03:27,800 --> 00:03:37,110
I just simply posit another that needs to be written that we return our render so redundant with this

65
00:03:37,110 --> 00:03:38,510
request here.

66
00:03:38,520 --> 00:03:41,970
I want to do all the policy to our app.

67
00:03:42,270 --> 00:03:48,180
OK, and that machine, our app payment system, that app payment here I want to do to create another

68
00:03:48,180 --> 00:03:51,660
piece because a new file and I just name it as order.

69
00:03:52,710 --> 00:03:54,200
OK, order dot esteemable.

70
00:03:54,600 --> 00:04:00,720
So here I am to do and the password in particular that position in our app payment here I want to do

71
00:04:00,720 --> 00:04:05,510
and defined as the order or the dot SGML.

72
00:04:05,910 --> 00:04:06,360
OK.

73
00:04:06,390 --> 00:04:08,490
And also here define the context.

74
00:04:08,910 --> 00:04:10,280
So that will be the context.

75
00:04:10,290 --> 00:04:10,780
Perfect.

76
00:04:10,980 --> 00:04:12,530
So right now we don't have any data.

77
00:04:12,540 --> 00:04:14,300
So that is our context is empty.

78
00:04:14,640 --> 00:04:20,040
So now we have to also do we have to create of the wall for access that our daughters HTML.

79
00:04:20,070 --> 00:04:24,210
So that means, you know, our app payment here.

80
00:04:24,210 --> 00:04:24,660
Go to that.

81
00:04:24,780 --> 00:04:26,100
What else after this.

82
00:04:26,700 --> 00:04:33,040
After the sound of create an adult world and I just name it as the orders, OK?

83
00:04:33,120 --> 00:04:35,820
I just name it as orders and into the viewing area.

84
00:04:35,820 --> 00:04:41,160
I have created the function name as an order view you, so just simply name it as an order of you.

85
00:04:41,160 --> 00:04:43,260
And here I name it as the orders.

86
00:04:43,440 --> 00:04:45,440
OK, so here I have defined that already.

87
00:04:45,470 --> 00:04:49,260
Well so now we can actually use that you are in our disposition.

88
00:04:49,260 --> 00:04:52,070
That means that is in our neighbour, that is our orders.

89
00:04:52,080 --> 00:04:52,390
Right.

90
00:04:52,950 --> 00:04:54,720
So now go to our neighbors.

91
00:04:55,860 --> 00:04:59,430
That is our neighbours and the neighbour Syria.

92
00:04:59,430 --> 00:05:06,240
I have defined that profile and that is our orders right now and want to take me one so it will be our

93
00:05:06,420 --> 00:05:06,730
order.

94
00:05:07,440 --> 00:05:16,170
So here I want to do that is in our app underscore payment with the app payment here I and I have created.

95
00:05:17,140 --> 00:05:22,430
The appartement and the other orders are just simply defined, that name, it shall be as orders.

96
00:05:22,720 --> 00:05:24,520
So now we have to work in our base.

97
00:05:24,520 --> 00:05:26,510
That means in our order, Dodi's Tamalpais.

98
00:05:26,530 --> 00:05:29,700
So here we have to designing it, Suheir, or whatever you want.

99
00:05:29,750 --> 00:05:37,900
Right now, I want to, first of all, make our extend, OK, extends itself, extends our bases, html

100
00:05:37,910 --> 00:05:44,650
such just simply as a base, not SDMI, and then also our body block will be needed.

101
00:05:44,680 --> 00:05:47,830
So here I defend as a block.

102
00:05:50,220 --> 00:05:58,640
OK, definitive blog will be as a body underscored block, body block, and also we have to do we have

103
00:05:58,650 --> 00:05:59,880
to end this block.

104
00:06:00,540 --> 00:06:05,250
So just simply defined as a block that is that and block.

105
00:06:05,280 --> 00:06:07,050
OK, so the end block.

106
00:06:07,230 --> 00:06:07,690
Perfect.

107
00:06:08,700 --> 00:06:10,590
So here I have defining our template.

108
00:06:10,590 --> 00:06:11,880
That is our best estimates.

109
00:06:11,930 --> 00:06:14,800
Now in particular, that area is depends on your design.

110
00:06:14,830 --> 00:06:18,540
So right now I want to create one of the basic design as a Dave.

111
00:06:18,870 --> 00:06:23,220
And here I defined as a container, which is very much common.

112
00:06:23,500 --> 00:06:26,100
I have always use it as a MDVIP.

113
00:06:26,760 --> 00:06:29,730
So I just simply defined as a container and defined.

114
00:06:29,740 --> 00:06:36,710
And here, here after this I take all the extra Retek and here I define the class.

115
00:06:37,380 --> 00:06:44,100
So here I live in the class and here I define the class as it will be the that center.

116
00:06:44,360 --> 00:06:50,910
OK, I to simplify the center and also I definitely strong into the strong core.

117
00:06:50,910 --> 00:06:52,410
I defended your order.

118
00:06:53,160 --> 00:06:56,910
OK, your orders to step up one of the things fully visible.

119
00:06:56,920 --> 00:07:01,730
And after that I want to take one of them, Dave, for the class.

120
00:07:01,800 --> 00:07:04,150
So here I take some of the role actually.

121
00:07:04,150 --> 00:07:12,830
So I just take as a Dave class as a rule and the rule area, I defend another Dave and as a call D okay.

122
00:07:12,840 --> 00:07:13,980
Call him the twelve.

123
00:07:14,850 --> 00:07:17,280
Sorry, here at the end of the call and be twelve.

124
00:07:17,700 --> 00:07:24,200
And then I want to do and define another Dave and here define the class will be as a card soon.

125
00:07:24,260 --> 00:07:33,010
The card area I define as the empty five ok card empty five and then also on the left on the table.

126
00:07:33,120 --> 00:07:35,890
So before that I want to define the responses.

127
00:07:35,910 --> 00:07:37,560
So I just take another Dave.

128
00:07:37,560 --> 00:07:40,590
Dave will say just simply define the table as possible.

129
00:07:42,780 --> 00:07:43,560
OK, table.

130
00:07:44,160 --> 00:07:49,890
Step up one of the class I want to use and then I take on what they will say on the table.

131
00:07:49,890 --> 00:07:54,810
And for this table, I take one of the class as a table class.

132
00:07:54,810 --> 00:07:57,540
And then also we need our P.H..

133
00:07:57,660 --> 00:07:58,830
That means that he had this.

134
00:07:58,830 --> 00:08:00,210
I just simply defined that he had.

135
00:08:00,330 --> 00:08:06,690
And then I take one of the tier sorry, the R OK into the TR area.

136
00:08:06,690 --> 00:08:09,270
I take one the t h sued the teacher.

137
00:08:09,390 --> 00:08:10,800
I want to define the scope.

138
00:08:12,870 --> 00:08:15,950
I think you already know about it, I make the call.

139
00:08:16,020 --> 00:08:21,600
OK, so call and first of all, it will be as it has, that means a number wise.

140
00:08:21,600 --> 00:08:27,330
And then all the talk page, that means that they will hear they want to define so that no one to define

141
00:08:27,330 --> 00:08:28,110
our hearts.

142
00:08:28,110 --> 00:08:29,600
It we display our order.

143
00:08:29,610 --> 00:08:35,310
I'd like to order idee is still be displayed our product.

144
00:08:35,550 --> 00:08:42,000
So I would say to somebody from the products and also our status.

145
00:08:42,990 --> 00:08:44,080
So that is our status.

146
00:08:44,190 --> 00:08:48,930
OK, it should be displayed this step up all the to our table head and that is our head.

147
00:08:48,930 --> 00:08:54,830
After this head I want to do undertake take our Tebaldi so into the Tibaldi area.

148
00:08:55,110 --> 00:08:58,430
So here we have to do we have to get all that our data through here.

149
00:08:58,440 --> 00:09:01,190
I have already passed all the data with Disorder's.

150
00:09:01,200 --> 00:09:01,460
Right.

151
00:09:01,470 --> 00:09:03,390
So now we have to add all the for loop.

152
00:09:04,020 --> 00:09:11,500
So here I define the for loop as far as the order in orders.

153
00:09:11,550 --> 00:09:11,950
Right.

154
00:09:11,970 --> 00:09:13,110
So that is our orders.

155
00:09:13,500 --> 00:09:21,780
And also we have to do we have to finish it so better if I just finish our and for and here I want to

156
00:09:21,780 --> 00:09:30,720
do I take one of that D-R Sabater on to do and the things that a bit in particular that area.

157
00:09:30,720 --> 00:09:32,970
So that is altius into the tier area.

158
00:09:32,970 --> 00:09:35,430
I define our all that name.

159
00:09:36,060 --> 00:09:42,890
I just take as a t h with the scope, OK, I just simply defined the scope will be as a rule.

160
00:09:44,520 --> 00:09:48,900
So here I define that role and that will be actually our counter.

161
00:09:48,900 --> 00:09:52,980
That means of all the counters, I think you already know about it because of all that is first of all,

162
00:09:52,980 --> 00:09:54,390
I have defined as a no ist.

163
00:09:54,390 --> 00:09:54,690
Right?

164
00:09:55,140 --> 00:10:00,390
So here you can define it, therefore loop and then the counter.

165
00:10:01,650 --> 00:10:05,550
OK, I just simply defined the false counter then automatically should be added.

166
00:10:05,550 --> 00:10:06,420
One, two, three.

167
00:10:06,450 --> 00:10:07,680
The step up on the name.

168
00:10:08,190 --> 00:10:13,590
And also after that I want to do undertake all the TD in the table that our table that are here.

169
00:10:13,590 --> 00:10:16,510
I want to display our order id.

170
00:10:16,650 --> 00:10:20,240
OK that means this order id so here our filename as already.

171
00:10:20,250 --> 00:10:27,020
So now I have to do and the visible it's a bit around to define already as a one of the link that Mhairi.

172
00:10:27,330 --> 00:10:32,450
OK, so here and display our link as in order.

173
00:10:33,510 --> 00:10:37,530
So with this order I want to do because of all that is clearer, all the right.

174
00:10:37,530 --> 00:10:43,710
So we decided we have to define our filename and here that is our rapporteurs into the app if we go

175
00:10:43,710 --> 00:10:44,490
to that model.

176
00:10:45,150 --> 00:10:47,670
So here that is a our order.

177
00:10:47,680 --> 00:10:49,230
You can say that our order already.

178
00:10:49,530 --> 00:10:52,590
So now on to display all that our order ID on here.

179
00:10:52,590 --> 00:10:54,090
So better after that.

180
00:10:54,090 --> 00:10:57,960
That is our order and the order ID and also to take another TV.

181
00:10:58,410 --> 00:11:02,030
So into the area we have to display our all that products.

182
00:11:02,040 --> 00:11:02,300
Right.

183
00:11:02,310 --> 00:11:04,170
So all the products we have to display.

184
00:11:04,170 --> 00:11:07,740
So here that means we have to display the raw items.

185
00:11:07,740 --> 00:11:13,590
So I just simply define all the four Suheir defended for and under.

186
00:11:13,830 --> 00:11:16,460
With this follow up, I want to define our item.

187
00:11:16,470 --> 00:11:23,010
OK, that means if you go to our model, so that is our I here the lower order.

188
00:11:23,010 --> 00:11:23,730
Right and right.

189
00:11:24,210 --> 00:11:27,090
See, the order item means that that is all that our product.

190
00:11:27,090 --> 00:11:27,350
Right.

191
00:11:27,360 --> 00:11:33,360
So here I will have to defining if that means that is in our item and then we have to live in the added

192
00:11:33,360 --> 00:11:34,620
that is in our order item.

193
00:11:34,620 --> 00:11:36,990
So now first of all, I define our product name.

194
00:11:36,990 --> 00:11:37,800
That is the item.

195
00:11:38,400 --> 00:11:47,160
So item will be as in I name it with our order so we don't order here to have defined that name.

196
00:11:47,160 --> 00:11:49,490
So have defined that name as the order item.

197
00:11:49,980 --> 00:11:53,490
So no, I want to do and the display and define what this order item.

198
00:11:53,760 --> 00:11:59,010
OK, and I want to tell all that our order items are what regions are defined as all OK.

199
00:11:59,280 --> 00:12:03,150
And then also we have to do have to display our item name.

200
00:12:03,160 --> 00:12:09,720
So that means here I define our these items, I just simply display our item name, that is all the

201
00:12:09,720 --> 00:12:11,400
product name will be visible.

202
00:12:12,270 --> 00:12:16,680
And also after that we have to do have to add a word for and for.

203
00:12:17,010 --> 00:12:25,590
That means here I just simply define our and for OK, let me then for loop here, I just simply close

204
00:12:25,590 --> 00:12:30,360
it so that all for our order OK.

205
00:12:30,390 --> 00:12:31,650
That's all for our order.

206
00:12:31,650 --> 00:12:33,270
And after that there is already status.

207
00:12:33,570 --> 00:12:39,890
So for the status here I want to do want to define, make the things as a one of the spin class matter.

208
00:12:39,930 --> 00:12:45,240
I just simply define the T and here I take one of the spin and they spin it.

209
00:12:45,240 --> 00:12:46,650
Yeah, I define the class.

210
00:12:47,520 --> 00:12:55,050
So to simplify and the classes should be as a bar de Medici and primary.

211
00:12:55,770 --> 00:12:57,480
OK, but but the primary.

212
00:12:58,080 --> 00:13:01,440
Sorry that will be as a part C but the primary.

213
00:13:01,860 --> 00:13:07,230
OK, and then here in the to enter this place on my stage as a processing.

214
00:13:10,380 --> 00:13:16,920
Your order, that means that is already complete, so now showing it will be sure as a processing your

215
00:13:16,920 --> 00:13:18,640
order to the customer, right.

216
00:13:18,660 --> 00:13:20,410
So here we have to defining it.

217
00:13:21,000 --> 00:13:23,370
So now that's all our field.

218
00:13:23,850 --> 00:13:24,250
Right.

219
00:13:24,270 --> 00:13:25,560
So that's all.

220
00:13:26,010 --> 00:13:29,010
So now if you check it like it is clear to save all.

221
00:13:29,700 --> 00:13:33,300
Now go outside, refresh it now.

222
00:13:33,360 --> 00:13:34,620
Go to that order.

223
00:13:35,070 --> 00:13:35,610
Yes.

224
00:13:35,610 --> 00:13:39,600
You can see it's a perfectly display our all the order ID.

225
00:13:39,600 --> 00:13:42,540
And that is also showing all that, all that our product.

226
00:13:42,560 --> 00:13:43,740
So that is our product.

227
00:13:43,740 --> 00:13:44,730
That is our product.

228
00:13:45,030 --> 00:13:46,810
And that is also showing our status.

229
00:13:46,810 --> 00:13:48,810
So that is our strategy is perfectly reasonable.

230
00:13:48,900 --> 00:13:49,230
Right.

231
00:13:49,770 --> 00:13:52,210
So everything is now perfectly visible.

232
00:13:52,230 --> 00:13:55,150
So now if you add any product, you can add it.

233
00:13:55,170 --> 00:14:02,160
So right now I take only one product and I go to our cart called our process to check out.

234
00:14:05,320 --> 00:14:06,910
Now go to our make Bement.

235
00:14:09,640 --> 00:14:16,260
So right now, there is a 15 hour because and you can also define another one as a because you can see

236
00:14:16,260 --> 00:14:19,200
there is also the success if you make that into a success.

237
00:14:20,430 --> 00:14:25,570
Yeah, you can see it also showing as our payment completely successful and our car is empty.

238
00:14:25,590 --> 00:14:26,760
Go to our orders.

239
00:14:27,600 --> 00:14:29,420
Yeah, you can see there's also another one.

240
00:14:29,430 --> 00:14:30,720
So that is actually our new one.

241
00:14:30,960 --> 00:14:31,470
Perfect.

242
00:14:31,860 --> 00:14:34,870
So, friend, we successfully complete our e-commerce site.

243
00:14:34,890 --> 00:14:36,720
I hope you enjoy it very much.

244
00:14:36,720 --> 00:14:39,150
And a lot of the things actually I shared.

245
00:14:39,420 --> 00:14:42,030
But you have to practice it without practice.

246
00:14:42,030 --> 00:14:44,550
Actually, you cannot remember every functionality.

247
00:14:44,560 --> 00:14:49,950
So in knew back when you try to update it, then that is actually the process that you can develop your

248
00:14:49,950 --> 00:14:50,290
skill.

249
00:14:50,520 --> 00:14:54,480
So make sure you practice it rather than if you face any issues.

250
00:14:54,480 --> 00:14:57,300
If you have any query, just let me know about it.

251
00:14:57,300 --> 00:14:59,930
I'm here for help you as much as I can.

252
00:15:00,480 --> 00:15:01,980
So thanks for watching.

253
00:15:02,020 --> 00:15:03,570
I'll see you in the next video.
