Yes! You can accept payments in your ASP.NET Core applications. Third party payment processing systems have really come of age and made it not only simple for you to start collecting payments, but also help to keep your users' personal information - such as credit cards - private...and more importantly off your server.
In this episode, Monster James shows us how to create a system for accepting user information, creating subscriptions using the Stripe.net NuGet package and integrating all of that into our application. We'll use the Stripe.js library to negotiate a token representing the user's credit card data and never have to submit the sensitive bits to our server.
This episode will also make use of some other features we've previously covered:
- User Secrets
- Configuration Settings
- The Options Pattern (for strongly-typed configuration)