9

Managing Payments and Orders

In the previous chapter, you created a basic online shop with a product catalog and a shopping cart. You learned how to use Django sessions and built a custom context processor. You also learned how to launch asynchronous tasks using Celery and RabbitMQ.

In this chapter, you will learn how to integrate a payment gateway into your site to let users pay by credit card. You will also extend the administration site with different features.

In this chapter, you will:

  • Integrate the Stripe payment gateway into your project
  • Process credit card payments with Stripe
  • Handle payment notifications
  • Export orders to CSV files
  • Create custom views for the administration site
  • Generate PDF invoices dynamically

The source code for ...

Get Django 4 By Example - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.