Start a conversation

How do I integrate PayFast with Thelia?

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

Install the PayFast module as follows:

  1. Unzip the module to a temporary location on your computer.
  2. Copy the 'PayFast' folder to local/modules under your base 'Thelia' public folder.
    – 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.
  3. Log in to the Thelia Back Office.
  4. Using the navigation bar, navigate to Modules.
  5. Click Enable Pay with PayFast.
  6. Once the module is Enabled, Under PAYMENT MODULES, Pay with PayFast click on Actions -> Configure Module.
  7. The PayFast options will then be shown, and you will see the module is ready to be tested.
  8. Leave everything as per default and click 'Save'.
  9. The module is now ready to be tested with the Sandbox. To test with the sandbox, select 'Test mode'.

Testing that Thelia 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.

Choose files or drag and drop files
Helpful?
Yes
No