In PRODUCTION mode, if your buyer gets an error message such as:
|An error occurred during the payment request, please make sure that the posted parameters match the ones specified in the documentation.|
It becomes impossible to make the payment and the transaction is definitively lost.
You will receive an email notification containing the form that the gateway was unable to process and the value of the invalid field.
We invite you to check the following reason(s) to resolve the issue:
|The format of the field is incorrect.|
The vads_tax_amount parameter allows to define the amount of taxes for the entire order. It must consist of numeric characters with a variable length up to 12 characters (n..12).
Check that the value entered in the form is correct.
|The amount submitted to the gateway is negative|
Make sure the amount submitted in the form is not negative.
Error example: [vads_tax_amount=-150]
|The amount contains some non-numeric characters (comma, point, etc.).|
The amount must be expressed in the smallest unit of the used currency.
Therefore for 1,50 EUR the vads_tax_amount field must be set to 150 and not 1,50.
Likewise, for 10 USD, the vads_tax_amount field must be set to 1000 and not 10,00 or 10.
For 100 French Pacific Francs (XPF) the vads_tax_amount field must be set to 100, as this currency has no cents.
For 100 Chilean Pesos (CLP), the vads_tax_amount field must be set to 100, as this currency has no cents.
Error example: [vads_tax_amount=1.50]