O'Reilly logo

Django By Example by Antonio Melé

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Managing Payments and Orders

In the previous chapter, you created a basic on-line shop with a product catalog and ordering system. 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. You will also extend the administration site to manage orders and export them to different formats.

In this chapter, we will cover how to:

  • Integrate a payment gateway into your project
  • Manage payment notifications
  • 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 customer's orders and delegate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required