Complete PayFast payment gateway integration for Django applications. Accept payments from South African customers in minutes, not hours.
Everything you need to accept payments through PayFast in your Django application
Get up and running in under 10 minutes with our straightforward API and comprehensive documentation.
Automatic signature verification, IP validation, and server-side validation with PayFast ensure secure transactions.
Store all payment records and webhook notifications in your database for complete audit trails.
Automatic ITN (Instant Transaction Notification) processing with validation and status updates.
Full admin integration for managing payments, viewing history, and monitoring transactions.
Sandbox support for development and testing without processing real payments.
Get started with dj-payfast in 6 simple steps
Install the latest version from PyPI
Update your Django settings.py
Add your PayFast credentials
Include PayFast URLs in your project
Create the necessary database tables
Create your first payment
Comprehensive guides and API reference
Get started in under 10 minutes with our step-by-step guide
Detailed installation instructions and configuration
Learn how to use dj-payfast in your projects
Complete API documentation for all components
All configuration options and settings
Report bugs and get help from the community
Help us maintain and improve this project
We've been bringing dj-payfast to the world for over 10 years. Your sponsorship helps us keep a team of maintainers actively working to improve dj-payfast and ensure it stays up-to-date with the latest PayFast changes.
Become a Sponsor