Hosted paypage error : "invalid amount parameter"

Hello,

I currently use the hosted paypage solution on test environnement and since yesterday the payments are refused with the error message "invalid amount parameter"

You could find below a form example

<form method="post" name="MonerisCAFormulaire" id="MonerisCAFormulaire" target="_top" action="https://esqa.moneris.com/HPPDP/index.php">
<input name="ps_store_id" value="xxxxx" type="hidden">
<input name="hpp_key" value="xxxxx" type="hidden">
<input name="charge_total" value="60" type="hidden">
<input name="email" value="xxxx@xxx" type="hidden">
<input name="id1" value="7" type="hidden">
<input name="description1" value="----" type="hidden">
<input name="quantity1" value="1" type="hidden">
<input name="price1" value="60" type="hidden">
<input name="subtotal1" value="60" type="hidden">
<input name="order_id" value="riorecetteresa184" type="hidden">
<input name="cust_id" value="f3d332a1-05aa-4817-89a8-d1191169505b" type="hidden">
<input name="lang" value="fr-ca" type="hidden">
</form>

 

Do you have any idea about this error ?

Thanks for your help

Regards

 

  • I had the same error. You need to be sure your transaction amount follow these rules :

    This must contain at least 3 digits, two of which are penny values.

    The minimum allowable value is $0.01, and the maximum allowable value is $999999.99. Transaction amounts of $0.00 are not allowed.