We've covered a lot of ground in this chapter. We started off by looking at the reasons why we'd use Stripe for payment processing over competitors such as PayPal. We then proceeded to build a number of new client-side UI components for collecting the information we need in order to handle order processing on the server, as well as to keep our users informed of their order state. We also included rich client-side validation for the first time, using the popular VeeValidate package.
We looked at how Stripe processes payments and how we remain PCI-compliant by not storing any sensitive payment card information on our own servers. Instead, we send these to Stripe's API to deal with, meaning that we can deal with simple tokens to pass between our client and server in order to trigger the final payment from the safety of our server-side C# code.
We then moved...