Why am I getting a merchant_id / merchant_key error?

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:
Merchant ID: 10000100
Merchant Key: 46f0cd694581a

For sandbox credentials with a passphrase:
Merchant ID: 10004002
Merchant Key: q1cd2rdny4a53
Passphrase: payfast

To generate your own unique credentials, you will need to create your own sandbox account. To do this, navigate to https://sandbox.payfast.co.za/ and register using your email address. On the sandbox dashboard, you will be given your unique sandbox Merchant ID and Key, and this will remain associated with the email used to log in. You will also be able to set a passphrase on your sandbox account.



    • Related Articles

    • 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. ...
    • What causes the error "The supplied variables are not according to specification"?

      This error is thrown if any of the POSTed values are incorrect, for instance, if the merchant_id or merchant_key is incorrect (possibly due to using a sandbox credentials on the live site), the following error will be thrown ‘The supplied variables ...
    • On Zen Cart, my customers are getting the error “amount is required”.

      Getting the error as detailed below, is most likely due to your currency configuration which is incorrect and the amount is therefore coming through as 0.00. Our module requires that you use ZAR as your primary currency and that it is configured with ...
    • 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 ...
    • Why do I receive a 500 error when redirected from Shopify to Payfast?

      This would be caused by an incorrect Merchant ID and/or Key set on the Payfast configuration page on your Shopify site. You will need to ensure that the Merchant ID and Key set on your Shopify store are identical to the merchant ID and Key on your ...