How do I integrate PayFast with VirtueMart?

How do I integrate PayFast with VirtueMart?

In order to use PayFast with VirtueMart, you will need to install the PayFast payment module for VirtueMart which is provided by PayFast.

Installation requirements

  • A working Joomla 3.4.* and VirtueMart 3.3.* installation
  • PHP cURL extension
  • Ask your host if you are not sure if this is available.

Installation and testing VirtueMart 3.3*

  1. Download the payment module from our site.
  2. Go to Joomla’s Extension manager. Using the main menu, navigate to Extensions > Manage > Install
  3. Drag and drop the PayFast zip file (mod-virtuemart_3.zip)  or click Browse for file and install it.
  4. Still in the Extension Manager of Joomla, click Manage.
  5. Search for the PayFast module and click enable extension.
  6. Using the main menu, navigate to Components > VirtueMart> Shop
  7. Using the VirtueMart menu, navigate to Payment Methods.
  8. Click New and enter PayFast for payment name. Select yes for Published and select VM Payment – PayFast for the payment method. Click Save.
  9. Click the Configuration tab of the PayFast plugin and enter your Merchant ID and Key. You may also enter a passphrase if you have one set on your account
  10. The module is now ready to be tested with the PayFast Sandbox. If the 'sandbox' is to be used, make sure the setting is set to Yes.
  11. To use the module in live mode, change sandbox to No and click Save.

If you are using a previous version of VirtueMart, please visit GitHub for instructions.