Payfast Gateway encryption key update

Update your Payfast Gateway encryption key in WooCommerce

All platforms

These steps replace the encryption key saved in the Payfast Gateway plugin for WooCommerce.

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 WordPress login that is allowed to change WooCommerce settings (an Administrator or Shop manager).
  • The key saved in WooCommerce 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.
  • These steps are for the plugin called Payfast Gateway for WooCommerce (older versions are called Paygate for WooCommerce or PayGate PayWeb3 plugin for WooCommerce). Its settings have a Terminal ID or Paygate ID, and an Encryption Key. If your settings show a Merchant ID, Merchant Key and Passphrase instead, you are using a different Payfast plugin and these steps do not apply to it.

Steps

  1. Log in to your WordPress admin.
  2. In the left-hand menu click WooCommerce, then Settings.
  3. Click the Payments tab.
  4. Find the Payfast Gateway payment method in the list and click Manage next to it. Depending on your plugin version it is listed as Payfast Gateway, Paygate or PayGate via PayWeb3.
  5. Check that the Test mode box is not ticked. While it is ticked 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 Terminal ID field as it is. Depending on your plugin version it is called Terminal ID, Paygate ID or PayGate ID.
  8. Scroll to the bottom of the page and click Save changes.
  9. Place a test order and pay with Payfast Gateway to confirm that the payment goes through.

Shortcut: you can also open the settings page directly by adding this to your site address: /wp-admin/admin.php?page=wc-settings&tab=checkout&section=paygate. If that does not open the page, follow steps 2 to 4.

If payments fail after the change

  • Check that the key was entered exactly as supplied, with no extra spaces.
  • Check that the Test mode box is not ticked.
  • 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