Payfast Gateway encryption key update
Update your Payfast Gateway encryption key in VirtueMart (Joomla)
These steps replace the encryption key saved in the Payfast Gateway payment method in VirtueMart.
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 Joomla administrator login that is allowed to manage VirtueMart.
- The key saved in VirtueMart 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
- Log in to your Joomla administrator area.
- In the left-hand menu click Components, then VirtueMart, then Payment Methods. Inside VirtueMart’s own menu, Payment Methods is under Shop.
- In the list, find the payment method that uses Payfast Gateway. Its Payment Method column reads paygate. Click its name in the Payment Name column; this is the name you gave it when you set it up, usually Paygate.
- Click the Configuration tab at the top of the page.
- Check that Test Mode is set to Disabled.
- In the Encryption Key field, delete the current key and enter your new key, with no spaces before or after it.
- Leave the Paygate ID field as it is. Depending on your plugin version it is called Paygate ID, PayGate ID or Terminal ID.
- Click Save & Close at the top left of the page.
- If more than one payment method in the list has paygate in the Payment Method column, repeat steps 3 to 8 for each one.
- Place a test order and pay with Payfast Gateway to confirm that the payment goes through.
If payments fail after the change
- Open the payment method again and check that the key was entered exactly as supplied, with no extra spaces.
- Check that Test Mode is set to Disabled.
- If payments still fail, contact Payfast support: email [email protected], call 021 300 4455 or use the live chat on payfast.io.