On VirtueMart, I get the error message "Direct Access to this location is not allowed".

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 are not the same when it comes to payments and we provide modules for all of them.

You will get the error message “Direct Access to this location is not allowed.” if you have used the PayFast module intended for 1.0.* on VirtueMart 1.1.* or vice versa.

To correct this error, download the correct version of the PayFast module from our shopping carts page and install the module as per the corresponding instructions on this page.