Why am I getting a 'currency format invalid' error?
Payfast only processes transactions in ZAR and does not provide a currency conversion service. This means the base currency of your store and product prices will need to be set to ZAR for us to be able to process the transaction.
However, you may edit the 'display currency' on your website to be another currency other than ZAR. This is typically done through a currency converter plugin that can convert the price of your product (in ZAR) to be displayed to your customers in another currency while they are browsing the products on your website.
When the customer reaches checkout, the total will be sent in ZAR so that we may process the transaction.
The availability of currency converters will depend on the cart system you are using. For more information regarding implementing a currency converter, we suggest you reach out to your cart platform to find a suitable option for your requirements.
Related Articles
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 ...
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 ...
In Shopify why am I receiving 'Error: The supplied variables are not according to specification: currency'?
Unfortunately, Shopify currency conversion with PayFast does not work. The foreign currency amount comes through as ZAR amount because Payfast only transacts in ZAR. You will need to ensure that the shop currency is set to ZAR.
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. ...
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: ...