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 e-mail 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_insurance_amount parameter allows to define amount of insurance fees 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_insurance_amount=-1050]
|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 10,50 EUR the vads_insurance_amount field must be set to 1050 and not 10,50.
Likewise, for 100 USD, the vads_insurance_amount field must be set to 10000 and not 100,00 or 100.
For 100 French Pacific Francs (XPF) the vads_insurance_amount field must be set to 100, as this currency has no cents.
For 100 Chilean Pesos (CLP), the vads_insurance_amount field must be set to 100, as this currency has no cents.
Error example: [vads_insurance_amount=10.50]