In this section of the course, we're going to build a slightly different version of a product that
we sell and this is a recurring monthly subscription for subscribing to a plant.
So we're looking at the page that we're going to build in the section right now, and we're going to
assume that people can buy a monthly subscription to our service that will get them three widgets for
the price of two every month.
Now it looks almost the same as the other form that we built in the previous section.
So I can fill it out, say Diana, Princess Diana at Paradise Island, dot com, Diana Prince and the
credit card number with an expiry date in the future and any three digit code for the CVC when I click
pay twenty dollars a month, it doesn't just do a one time transaction.
It actually subscribes the user to a stripe plan and we'll be going through that in detail.
So I'll buy this.
It does the same sort of client side validation we did last time and it takes us to a receipt page and
I just made it a very simple receipt page.
And of course, you can do whatever you want as you build this.
And if I go over to Stripe and look at my customer list with test data and refresh this page.
I see that Diana at Paradise Island has bought something and away we go so that that succeeded.
Now one of the things to be aware of is the way that we build this page subscription.
And it's actually considerably different than the way we did the one time purchase in the previous section,
because this time almost all of the logic is on the back end.
So our front end application serves services web page and it serves us nothing else.
Basically, it serves us this page and a few little tiny bits of information that we're sharing with
all of our templates.
And it calls the back end, which is a totally different application listing on a different port.
And of course, I'm doing it this way so that you can see both ways of handling this sort of thing.
All right, let's get started.