Why do I get an 'invalid url' error message when being redirected from Magento to PayFast?
This is due to testing from a non internet accessible machine (e.g. a local development machine).
Non internet accessible machine
The module will only perform as expected if you are testing from an internet accessible machine (e.g.http://www.mydomain.co.za). It will not work from something like http://localhost or http://my.machine.local.
Ensure that you are testing on an internet accessible machine.
Related Articles
Why do I get an 'invalid url' error message when being redirected from WHMCS to PayFast?
This is due to one of two reasons: you are testing from a non internet accessible machine (eg. a local development machine) or you have not setup your URLs in WHMCS correctly. Non internet accessible machine The module will only perform as expected ...
What causes an invalid URL error?
The Payfast system will pick up on ‘local’ or ‘localhost’ in the return, cancel and notify URLs and throw the invalid URL error. This is because it is not possible to test the ITN locally due to no server to server communication. The site needs to be ...
On VirtueMart, I get the error message "Direct Access to this location is not allowed".
You’ll get this error message when there is a mismatch between your version of VirtueMart and version of the PayFast VirtueMart module you have installed. There are three versions of VirtueMart currently in circulation: 2.0.0, 1.1.*, and 1.0.*. They ...
Why isn’t my PrestaShop cart being redirected to PayFast?
Often when the friendly URL’s function is enabled on the PrestaShop installation, some clients reported that the PayFast plugin was broken. The fix for this is to make sure that the permissions on the PayFast module and it’s sub-directories and files ...
How do I integrate PayFast with Magento?
In order to use PayFast with Magento 2.x, you will need to install the PayFast payment module for Magento which is provided by PayFast. Due to security updates, it is not recommended to use version 1.9 or below and, unfortunately, PayFast no longer ...