8

Managing Payments and Orders

In the previous chapter, you created a basic online shop with a product catalog and a shopping cart. You also learned how to launch asynchronous tasks with Celery.

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 a payment gateway into your project
  • Export orders to CSV files
  • Create custom views for the administration site
  • Generate PDF invoices dynamically

Integrating a payment gateway

A payment gateway allows you to process payments online. Using a payment gateway, you can manage customers' orders and delegate payment processing to a reliable, ...

Get Django 3 By Example - Third 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.