How do I integrate PayFast with Jamroom?

How do I integrate PayFast with Jamroom?

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

Installation requirements

Installation and Testing

To install the PayFast payment module, do the following:

  1. Download the payment module from our site.
  2. Unzip the module to a temporary location on your computer.
  3. Copy the include folder in the archive to your base Jamroom installation.
    • This should NOT overwrite any existing files or folders and merely supplement them with the PayFast files.
    • This is however, dependent on the FTP program you use.
    • If you are concerned about this, rather copy the individual files across as per instructions below.
  4. Log in to the Jamroom v4.3.0 Admin console.
  5. Navigate to Admin Options > System Config > Payment Settings.
  6. Select PayFast as Vault Processor.
  7. Select the configure button next to PayFast under Payment Processor Modules.
  8. Click Update Settings.
  9. The module is now ready to be tested with the PayFast Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:

Copying the individual files across

If you are concerned that copying the entire folder from the downloaded module may overwrite files in your installation, rather copy the files from the extracted module individually into your installation.

Be sure to copy the files from the downloaded module to their corresponding locations within your installation:

The list of files needed in your online installation are as follows:

include/plugins/jrPayment/PayFast.php
include/plugins/jrPayment/payfast_common.inc
include/plugins/jrPayment/images/PayFast.png

Testing that it is working correctly 

If you followed the installation instructions above, the module is in ‘test’ mode and you can test it by purchasing from your site as a buyer normally would. You will be redirected to PayFast for payment and can log in with the user account detailed above and make payment using the balance in their wallet.

You will not be able to directly ‘test’ a credit card or Instant EFT payment in the sandbox, but you don't really need to. The inputs to and outputs from PayFast are exactly the same, no matter which payment method is used, so using the wallet of the test user will give you exactly the same results as if you had used another payment method.

Going live

In order to make the module ‘live’, do the following:

  1. Log in to the Jamroom v4.3.0 Admin.
  2. Navigate to Admin Options > System Config > Payment Settings.
  3. Select the configure button next to PayFast under Payment Processor Modules’
  4. In the PayFast Settings block, use the following settings:  
    • PayFast Sandbox/Live = ‘Live’
    • PayFast Merchant ID = Integration Page>
    • PayFast Merchant Key = <Integration Page>
    • PayFast ITN Debug = Off
  5. Click Update Settings.

    • Related Articles

    • I upgraded Jamroom v4.3.0 and now 'PayFast' no longer appears as a payment option.

      When upgrading Jamroom v4.3.0, the PayFast payment module files may be deleted. You simply need to reinstall the module following the installation procedures and the ‘PayFast’ options will reappear with your previous setting intact.
    • How do I integrate PayFast with UberCart?

      To integrate PayFast with UberCart, do the following: Download the PayFast module and extract the uc_payfast folder from the zip folder. Move or copy the folder called ”uc_payfast” into your /modules/ubercart/payment directory. Log in to the admin ...
    • How do I integrate PayFast with Events Manager Pro?

      You’ll need a working installation of WordPress with Events Manager Pro before you can integrate with PayFast. Kindly see their website for more information. To install the PayFast module, do the following: Download the PayFast plugin. Upload the ...
    • How do I integrate PayFast with Invoice Ninja?

      To integrate your PayFast account with Invoice Ninja, do the following:   Log in to your Invoice Ninja account. Navigate to Settings > Payment Settings. Click on Configure Gateways. Search for and select PayFast as the Provider. Enter your PayFast ...
    • How do I integrate PayFast with CS-Cart?

      You’ll need a working installation of CS-Cart before you can integrate with PayFast. Kindly see their website for more information. Installation and testing V4 To install the PayFast payment module, do the following: Download the payment module. ...