Payfast Payments
Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.0 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.21.x, PHP 7.4 – 8.3 · Changelog: view
Accept South African rand payments with Payfast in CS-Cart and Multi-Vendor: the customer pays on the Payfast page, the order is confirmed by a checked Instant Transaction Notification (ITN), and refunds are made from the order page.
What it does
Section titled “What it does”- Offers Payfast as a payment method at checkout: the customer is sent to the Payfast page (cards, instant EFT and the other methods your account has) and returns to the order.
- Builds the signed payment form exactly as the Payfast documentation describes (merchant details, notify, return and cancel addresses, amount, signature with your passphrase).
- An order is marked paid only after the ITN passed all checks: signature, Payfast sender address, amount and merchant id, and the server confirmation at Payfast (
VALID). A repeated ITN changes an order once. - Refunds from the order page (full or partial) or at a chosen order status through the signed Payfast refund API; the add-on asks Payfast for the balance before it ever repeats a refund.
- Merchant key and passphrase are stored encrypted; sandbox and live mode are separate; a “Test connection” button checks them.
- A job queue with automatic retries (5 minutes, 15 minutes, 1 hour, 3 hours, 12 hours), a log with filters and CSV export.
- Multi-Vendor: marketplace owner mode (one account for the whole marketplace) or one account per vendor in the vendor panel.
Compatibility
Section titled “Compatibility”- CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate 4.17.2 to 4.21.x.
- Payfast only supports South African rand (ZAR): the store needs a ZAR currency (or ZAR as the main currency). Payments below R5.00 are not accepted by Payfast.
- PHP 7.4 to 8.3, depending on your CS-Cart version.
- The queue needs a cron job (a command line or a secret web address; see Configuration).
Next steps
Section titled “Next steps”Payfast is a trademark of its owner; this add-on is not affiliated with or endorsed by Payfast.