To install the PayFast payment module, do the following:
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:
/components/com_mijoshop/opencart/admin/controller/payment/payfast.php /components/com_mijoshop/opencart/admin/language/english/payment/payfast.php /components/com_mijoshop/opencart/admin/view/image/payment/payfast.png /components/com_mijoshop/opencart/admin/view/image/payment/payfastlogo.gif /components/com_mijoshop/opencart/admin/view/template/payment/payfast.tpl /components/com_mijoshop/opencart/catalog/controller/payment/payfast.php /components/com_mijoshop/opencart/catalog/controller/payment/payfast_common.inc /components/com_mijoshop/opencart/catalog/language/english/payment/payfast.php /components/com_mijoshop/opencart/catalog/model/payment/payfast.php /components/com_mijoshop/opencart/catalog/view/theme/default/image/payfast.png /components/com_mijoshop/opencart/catalog/view/theme/default/image/payfastlogo.gif /components/com_mijoshop/opencart/catalog/view/theme/default/template/payment/payfast.tpl
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.
In order to make the module “live”, do the following: