{"repo":"Carrington-dev/dj-payfast","free":true,"listed":false,"github":"https://github.com/Carrington-dev/dj-payfast","clone":"git clone https://github.com/Carrington-dev/dj-payfast.git","description":"Easy PayFast integration for Django with full transaction tracking and real-time ITN (payment notification) logging for every payment.","language":"Python","stars":34,"topics":["billing","django","finance","finance-application","fintech","payfast","payments","python","subscriptions"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"dj-payfast - Django + Payfast Made Easy PayFast Models for Django. Introduction dj-payfast implements all of the Payfast models intergration, for Django. Set up your webhook endpoint and start receiving model updates. You will then have a copy of all the payfast models available in Django models, as soon as they are updated! The full documentation is available on Read the Docs. Features - Payfast Core - Payfast Billing - Payfast Cards (JS v2) and Sources (JS v3) - Payment Methods and Payment Intents (SCA support) - Support for multiple accounts and API keys - Payfast Connect (partial support) - Tested with Payfast API 2020-08-27 (see API versions) Requirements - Django =4.2 - Django Rest Framework (Portable) - Python =3.9 - PostgreSQL engine (recommended) =12 - MySQL engine: MariaDB =10.5 or MySQL =8.0 - SQLite: Not recommended in production. Version =3.26 required. - Nginx, Gunicorn, Docker - Celery is included - Email setup Installation See installation instructions. 1. Install via pip 2. Add to INSTALLED APPS 3. Configure URLs This creates the webhook endpoint at: /payfast/notify/ 4. Run Migrations --- Configuration Basic Configuration Add your PayFast credentials to settings.py : Environment Variables (Recommended) Never commit credentials to version control! Use environment variables: Create a .env file: Getting PayFast Credentials Sandbox (Testing): 1. Sign up at sandbox.payfast.co.za 2. Navigate to Home → Account Information 3. Copy your Merchant ID and Merchant Key 4.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Carrington-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Carrington-dev/dj-payfast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}