WEBVTT

00:00.000 --> 00:06.090
Okay, we've reached the end of section 11 and we've now implemented the orders feature in our application.

00:06.090 --> 00:11.700
So in this section we took a look at creating order entities from an order aggregate point of view,

00:11.730 --> 00:17.400
a more complex entity that's made up of several different parts, often referred to as an aggregate.

00:17.400 --> 00:22.560
And to complete our payment system, we needed to take a look at webhooks so that stripe can send us

00:22.560 --> 00:26.430
the information when stripe has received the payment from the user.

00:26.430 --> 00:32.790
Because there's no direct connection between our API server, the user, and stripe when that payment

00:32.790 --> 00:33.630
is taking place.

00:33.630 --> 00:39.600
Because our API server does not get involved in any way with the payment card itself.

00:39.600 --> 00:45.660
So we needed stripe to send us a notification based on an event, such as payment being received successfully

00:45.660 --> 00:46.950
or payment failure.

00:46.950 --> 00:51.210
And in order to test that effectively, we needed to use the stripe CLI.

00:51.240 --> 00:55.830
Quite a lot of revision and practice of stuff that we've already covered from earlier on in this course

00:55.830 --> 00:56.190
as well.

00:56.190 --> 01:03.030
That hopefully solidifies some of the stuff that we've already looked at, and that pretty much completes

01:03.030 --> 01:06.120
the user side functionality of our application.

01:06.120 --> 01:11.490
So coming up next, we're actually going to take a look at publishing our application onto the big and

01:11.490 --> 01:14.100
dangerous world of the internet.
