error 66

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 recurring amount submitted to the gateway is equal to ZERO.

The vads_sub_init_amount field is an optional parameter used for creating a recurring payment. It represents the amount of the first installments of the recurring payment. The value may be empty but cannot be equal to 0.

Make sure the recurring amount submitted in the form is not equal to ZERO.

Error example

[vads_payment_cards=null] 
[signature=ycA5Do5tNvsnKdc/eP1bj2xa19z9q3iWPy9/rpesfS0=]
[vads_validation_mode=0] 
[vads_sub_desc=RRULE:FREQ=MONTHLY;BYMONTHDAY=10]
[vads_trans_date=20190707100333] 
[vads_cust_country=FR]
[vads_url_return=http://localhost/test/recupvaleur.php?] 
[vads_ctx_mode=TEST]
[vads_page_action=REGISTER_PAY_SUBSCRIBE] 
[vads_action_mode=INTERACTIVE]
[vads_sub_effect_date=20190721] 
[vads_currency=978] 
[vads_version=V2]
[vads_capture_delay=0] 
[vads_trans_id=434134] 
[vads_sub_amount=2590]
[vads_sub_init_amount=0]
[vads_amount=10000] 
[vads_cust_email=xxxxxx@myshop.com]
[vads_payment_config=SINGLE] 
[vads_return_mode=GET]
[vads_sub_currency=978] 
[vads_language=fr]
[vads_site_id=70258842]		
									

The recurring amount submitted to the gateway is negative.

Make sure the recurring amount submitted in the form is not negative.

Error example

[vads_payment_cards=null] 
[signature=ycA5Do5tNvsnKdc/eP1bj2xa19z9q3iWPy9/rpesfS0=]
[vads_validation_mode=0] 
[vads_sub_desc=RRULE:FREQ=MONTHLY;BYMONTHDAY=10]
[vads_trans_date=20190707100333] 
[vads_cust_country=FR]
[vads_url_return=http://your-shop.com/vads_test/recupvaleur.php?] 
[vads_ctx_mode=TEST]
[vads_page_action=REGISTER_PAY_SUBSCRIBE] 
[vads_action_mode=INTERACTIVE]
[vads_sub_effect_date=20190721] 
[vads_currency=978] 
[vads_version=V2]
[vads_capture_delay=0] 
[vads_trans_id=434134] 
[vads_sub_amount=2590]
[vads_sub_init_amount=-3090]
[vads_amount=10000] 
[vads_cust_email=xxxxxx@myshop.com]
[vads_payment_config=SINGLE] 
[vads_return_mode=GET]
[vads_sub_currency=978] 
[vads_language=fr]
[vads_site_id=70258842]		
									

The recurring amount contains some non-numeric characters (comma, point, etc.).

The recurring amount must be expressed in the smallest unit of the used currency.

Examples of vads_sub_init_amount values

For 30.90 EUR, the value to be transmitted is: "30.90".

For 30.90 CHF, the value to be transmitted is: "30.90".

For 30.90 BRL, the value to be transmitted is: "30.90".

For 100 XPF, the value to be transmitted is: "100".

For 100 CLP, the value to be transmitted is: "100".

Error example

[vads_payment_cards=null] 
[signature=ycA5Do5tNvsnKdc/eP1bj2xa19z9q3iWPy9/rpesfS0=]
[vads_validation_mode=0] 
[vads_sub_desc=RRULE:FREQ=MONTHLY;BYMONTHDAY=10]
[vads_trans_date=20190707100333] 
[vads_cust_country=FR]
[vads_url_return=http://localhost/test/recupvaleur.php?] 
[vads_ctx_mode=TEST]
[vads_page_action=REGISTER_PAY_SUBSCRIBE] 
[vads_action_mode=INTERACTIVE]
[vads_sub_effect_date=20190721] 
[vads_currency=978] 
[vads_version=V2]
[vads_capture_delay=0] 
[vads_trans_id=434134] 
[vads_sub_amount=2590]
[vads_sub_init_amount=30,90]
[vads_amount=10000] 
[vads_cust_email=xxxxxx@myshop.com]
[vads_payment_config=SINGLE] 
[vads_return_mode=GET]
[vads_sub_currency=978] 
[vads_language=fr]
[vads_site_id=70258842]