In Zen Cart I’m using a non-standard currency code. Can I change your module to use it?

In Zen Cart I’m using a non-standard currency code. Can I change your module to use it?

While we don’t recommend this at all, you can do this as follows:

  1. Open this file in your Zen Cart installation:
    /includes/modules/payment/payfast.php
  2. Find the text:
    $currency = 'ZAR';
  3. Change ZAR to the currency code for your non-standard currency (eg. ZA)
  4. Save the file

This will set the module to use your non-standard currency code.

Please note: If you upgrade to a new version of the PayFast module at a later stage, your changes will be overridden. So remember to save your changes before doing so.