April 2020
Intermediate to advanced
716 pages
18h 55m
English
When an order is being placed at the end of the checkout process, the generated card token will be used to create or update a Stripe Customer (https://stripe.com/docs/api#customers) representing our user. This is a good way to store credit card information (https://stripe.com/docs/saving-cards) with Stripe for further use, such as for creating charges against specific products in the cart when a seller processes the ordered product from their shop. This eliminates the complications of having to store user credit card details securely on your own server. To integrate Stripe Customer with our application, in the following sections, we will update the user model so that it stores Stripe Customer details ...