Why do I get "Merchant Authorization Failed"?
As per our Errors and Causes table, the signature is incorrect. Please note that the API signature is generated from the MD5 hash of the alphabetised submitted header and body variables, along with the passphrase.
Ensure that you include the correct merchant-id, version, timestamp and passphrase when generating the signature.
Related Articles
Why am I getting a merchant_id / merchant_key error?
This may be due to using your live Merchant ID and Key for the sandbox. When testing in sandbox, you can either use our default sandbox credentials or you can use your own unique sandbox credentials. For sandbox credentials without a passphrase: ...
Why am I getting “Merchant_key invalid”?
Ensure that you're using test (sandbox) credentials when testing in sandbox mode and live credentials when disabling test/sandbox mode. Double check that the merchant ID and key on your Payfast account matches the one set on your plugin’s settings. ...
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 ...
In Xero, why does the 'Get bank feeds' button not work for PayFast?
By setting up Xero according to the steps outlined here, the integration will handle the bank feeds automatically from our side and update your Xero systems when there are successful payments received, that were actioned from Xero. Additionally, it ...
When using a button, how do I get my custom field included in the payment confirmation email from Payfast? ‘custom_str1’ is not working?
You will need to add it on to the item name, or the item description, in order to get the information in the confirmation email. Please note the character limit for each of these as per our documentation.