In order to use PayFast with CubeCart, you will need to install the PayFast payment module for CubeCart which is provided by PayFast.
Installation requirements
- A working CubeCart installation
- PHP cURL extension
- Ask your host if you are not sure if this is available
To install the PayFast Website Payments payment module, please follow the instructions below.
- Download the v5 payment module from our site.
- Unzip the module to a temporary location on your computer.
- Copy and paste the files into your base CubeCart installation as they were extracted.
- Log in to the CubeCart admin console.
- Navigate to Plugins > Manage Plugins.
- Click ‘PayFast’ (or on the ‘Edit’ logo next to PayFast).
- Change values in form:
Check the ‘Status’ checkbox
Click ‘Save’ button to save configuration.
After completing these instructions, the module is installed and ready to be tested in the sandbox environment (The pre-populated Merchant ID and Merchant Key values are the generic sandbox test credentials).
Going live
Cube Cart v6
In order to make the module ‘LIVE’, follow the instructions below:
Log into the CubeCart admin console.
- Navigate to Plugins > Manage Plugins.
- Click on ‘PayFast’ (or on the ‘Edit’ logo next to PayFast).
- Change values in form:
- Set ‘Merchant ID’ to your Merchant ID
- Set ‘Merchant Key’ to your Merchant Key
- Set ‘Server’ to Live
- Click the ‘Save’ button to save configuration.
The module will then be live for transaction processing.
Cube Cart v5
In order to make the module ‘LIVE’, follow the instructions below:
Log into the CubeCart admin console.
- Navigate to Modules ? Payment Methods.
- Click the PayFast logo (or on ‘Configure’ next to the PayFast logo).
- Change values in form:
- Set ‘Merchant ID’ to your Merchant ID
- Set ‘Merchant Key’ to your Merchant Key
- Set ‘Server’ to Live
- Click the ‘Edit Config’ button to save configuration.
The module will then be live for transaction processing.
If you are using version 4 or below, please visit GitHub for instructions.