Payfast Gateway encryption key update

Update your Payfast Gateway encryption key in Zen Cart

All platforms

These steps replace the encryption key saved in the Payfast Gateway module for Zen Cart.

Before you start

  • Have your new PayWeb encryption key ready. You generate it in the Merchant Access Portal, as set out in the security update email from Payfast.
  • You need a Zen Cart admin login that is allowed to edit payment modules.
  • The key saved in Zen Cart must match the key on your Payfast Gateway account. Payments will fail while the two are different, so make this change as soon as your new key is active.

Steps

  1. Log in to your Zen Cart admin.
  2. In the menu bar at the top click Modules, then Payment.
  3. In the list of payment modules, click the Payfast Gateway row. The second column of that row reads paygatepaywebv3. Depending on your plugin version the module is called Paygate, PayGate, Secure payment using PayGate or Payfast Gateway.
  4. In the panel that opens on the right, click Edit. Do not click Remove Module.
  5. Check that Enable Test Mode is set to False. While it is set to True the plugin ignores your key and uses a test account.
  6. In the Encryption Key field, delete the current key and enter your new key, with no spaces before or after it.
  7. Leave the Paygate ID field as it is. Depending on your plugin version it is called Paygate ID, PayGate ID or Terminal ID.
  8. Scroll to the bottom of the panel and click Update.
  9. Place a test order and pay with Payfast Gateway to confirm that the payment goes through.

If payments fail after the change

  • Open the module again and check that the key was entered exactly as supplied, with no extra spaces.
  • Check that Enable Test Mode is set to False.
  • If payments still fail, contact Payfast support: email [email protected], call 021 300 4455 or use the live chat on payfast.io.

← All platforms

Need help? [email protected] · 021 300 4455

Last updated 21 November 2026