On Zen Cart, my customers are getting the error “amount is required”.

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.

Error - Amount is required

Our module requires that you use ZAR as your primary currency and that it is configured with the official currency code ZAR (not ZA or some other variation).

Modify this through the Zen Cart admin console on the Localization > Currencies page. Ensure that you have an entry with the following details:

  • Currency = South African Rand (Default)
  • Code = ZAR
  • Value = 1.00000000

    • Related Articles

    • How do I integrate PayFast with Zen Cart?

      In order to use PayFast with Zen Cart, you will need to install the PayFast payment module for Zen Cart which is provided by PayFast. Installation requirements A working Zen Cart installation Installation and testing To install the PayFast payment ...
    • Where is my "base Zen Cart folder"?

      This is the root of your Zen Cart installation. Where this is, depends on what system you are using and where you are hosting. The easiest way to find this though would be to look for the Zen Cart directory structure. The base (or root) Zen Cart ...
    • 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 ...
    • 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: Open this file in your Zen Cart installation: /includes/modules/payment/payfast.php Find the text: $currency = 'ZAR'; Change ZAR to the currency code for your non-standard currency ...
    • I upgraded WordPress/Event Espresso and now I get an error “item_name” required.

      This error may happen when the Event Espresso module did not initialise correctly. In some cases the “*_event_attendee_cost” table was not created, causing the SQL that fetches the item_name to break. To solve this, you just need to deactivate, and ...