Payfast Gateway encryption key update

Update your Payfast Gateway encryption key in PrestaShop

All platforms

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

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 PrestaShop back office login that is allowed to configure modules.
  • The key saved in PrestaShop 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 PrestaShop back office.
  2. In the left-hand menu, under Improve, click Modules, then Module Manager.
  3. Type pay in the search box at the top of the page and press Enter.
  4. Find the Payfast Gateway module in the Payment section and click Configure next to it. Depending on your module version it is called Paygate, PayGate or Payfast Gateway.
  5. In the Encryption Key field, delete the current key and enter your new key, with no spaces before or after it.
  6. Leave the Paygate ID field as it is. Depending on your module version it is called Paygate ID, PayGate ID or Terminal ID.
  7. Click Save at the bottom right of the Settings panel. A Settings updated message confirms the change.
  8. Place a test order and pay with Payfast Gateway to confirm that the payment goes through.

If you run more than one shop (multistore)

If you use PrestaShop’s multistore feature, choose each shop in the shop selector at the top of the back office and repeat steps 2 to 7, so that every shop has the new key.

If payments fail after the change

  • Open the module settings again and check that the key was entered exactly as supplied, with no extra spaces.
  • 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