• France
status page
Merchant Back Office
assistance
FAQContact support
Search
Categories
Tags
English
French
English
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
Logos
Push mail
Snippets
Payment methods
Plugins
Guides
Merchant Back Office
Functional guides

error 22 - Error 22 - vads_cust_country

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 vads_cust_country field is not uppercase.

The vads_cust_country field is optional and, if present, must imperatively be uppercase.

For France, FR must be submitted in uppercase and not fr in lowercase.

The vads_cust_country field does not correspond to any country code.

Make sure that the vads_cust_country field submitted in the form respects the ISO 3166 standard.

Here are some country codes:

Code Country Code Country
AT Austria GP Guadeloupe
CI Ivory Coast MQ Martinique
DE Germany NC New Caledonia
ES Spain PF French Polynesia
FR France PM St. Pierre and Miquelon
FR Corsica US United States of America

You will find the list of all country codes on this website: http://iso.org

© 2025 {'|'} All rights reserved to Systempaylegal
25.18-1.11