Modifying the languages available to the buyer
You can customize the list of languages offered to the buyer using the language selector at the top right of the payment page.
The last language selected by the buyer will be the default language for the payment confirmation e-mail.
Populate the vads_available_languages using the table below:
with one single value, if you do not wish to show the page of payment method selection,
with a list of values separated by a ";" to show the available languages.
Language | Value | Default available language |
---|---|---|
German | de | x |
English | en | x |
Chinese | zh | x |
Spanish | es | x |
French | fr | x |
Italian | it | x |
Japanese | ja | x |
Dutch | nl | x |
Polish | pl | |
Portuguese | pt | x |
Russian | ru | x |
Swedish | sv | x |
Turkish | tr |
If the value of the vads_available_languages field is wrong, the form will be rejected.
Example of a payment form with a list of available languages:
<form method="POST" action="https://scelliuspaiement.labanquepostale.fr/vads-payment/"> <input type="hidden" name="vads_action_mode" value="INTERACTIVE" /> <input type="hidden" name="vads_amount" value="3000" /> <input type="hidden" name="vads_available_languages" value="fr;en;nl;de" /> <input type="hidden" name="vads_capture_delay" value="0" /> <input type="hidden" name="vads_ctx_mode" value="PRODUCTION" /> <input type="hidden" name="vads_currency" value="978" /> <input type="hidden" name="vads_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_config" value="SINGLE" /> <input type="hidden" name="vads_site_id" value="12345678" /> <input type="hidden" name="vads_trans_date" value="20190626101407" /> <input type="hidden" name="vads_trans_id" value="239848" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="aEWutqzuHH6Q8ns3a6cj5XitZCuhYsDcsKjlLpL8flA="/> <input type="submit" name="pay" value="Pay"/> </form>