Skip to content

Settings

Open Add-ons > Manage add-ons > Payfast Payments > Settings.

Setting Default Description
Enable On When off, no new work is started. Jobs and webhooks of work that is already under way are still processed.
Marketplace owner mode On On: every order is processed with the marketplace owner’s account and vendors have no connection page. Off: each vendor connects their own account.
Debug log Off Also stores every HTTP call with masked request and response. Secrets are never stored.
Log retention (days) 90 Older log entries are removed by the cron run.
Open payments expire after (hours) 48 An attempt that was never paid is closed after this time and its order is set to the failed status. A late notification still books the payment.
Accept notifications only from Payfast addresses On Checks the sender address of every notification against the addresses Payfast publishes. Switch off only if your server cannot see the real sender address; the signature and the server confirmation are always checked.
Send the customer name, e-mail and cell number to Payfast On Pre-fills the Payfast page. Off: Payfast asks the customer.
Tell the buyer about a refund On Sent as notify_buyer with every refund request.
Order status when the payment is paid / failed / canceled P / F / I The order status set from the payment result. An order is never moved backwards.
Refund in full when the order status becomes empty A paid order that reaches this status is refunded once. Empty = refund by hand.

Credentials are not ordinary settings: they are entered on the Connection page and stored encrypted (AES-256-GCM, key derived from your store’s own secret). They are never shown again; leave a secret field empty to keep the saved value.

Field Description
Mode Sandbox uses the sandbox host and the sandbox merchant details; Live uses the live host and your live merchant details.
Merchant ID / Merchant key From your Payfast dashboard (digits / letters and digits). The sandbox pair Payfast publishes is 10000100 / 46f0cd694581a.
Security passphrase From Settings in the Payfast dashboard. It signs every payment and every refund request; the same value must be set in Payfast. Tick “My Payfast account has no passphrase” to clear it (refunds are then not possible).
Notification URL (ITN) Shown for information: sent to Payfast as notify_url with each payment.

The queue runs from cron. Use either the command line or the secret web address shown in the Cron section of the settings:

  • php /path/to/store/admin.php --dispatch=kv_payfast_payments.cron
  • https://your-store.example/index.php?dispatch=kv_payfast_payments.cron&key=<secret>
  • Log lists every call, job and webhook with filters (level, action, text, dates) and a CSV export.
  • Jobs lists the queue. A job that fails is retried after 5 minutes, 15 minutes, 1 hour, 3 hours and 12 hours, then marked “Gave up”; use Retry to queue it again.

Permanently delete all payment records on uninstall (default off): off keeps the payment and refund records, the queue and the connection when you uninstall, on deletes them with the next uninstall.

In the vendor panel a vendor sees only their own records. With the marketplace owner mode off the vendor also gets the Connection tab for their own account.