Modifying the language

You can customize the language of the payment pages.

  1. Use the fields required for your use case (see chapter Generating a payment form) to create your payment form.
  2. Populate vads_language with one the values presented in the table below.
    Language ISO 639-1 standard
    German de
    English en
    Chinese zh
    Spanish es
    French fr
    Italian it
    Japanese ja
    Dutch nl
    Polish pl
    Portuguese pt
    Russian ru
    Swedish sv
    Turkish tr
    • If the value of the vads_language field is wrong, the form will be rejected.
    • If the field has not been sent or is empty, the payment page will be shown in the language of the buyer's browser
    • The buyer will be able to change the language anytime by clicking on the flags at the bottom of the payment page.
  3. Compute the value of the signature field using all the fields of your form starting with vads_(see chapter Computing the signature).
Example of a payment form with a list of available languages :
<form method="POST" action="https://secure.lyra.com/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" />
<input type="hidden" name="vads_amount" value="3000" />
<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_language" value="fr" />
<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="20140526101407" />
<input type="hidden" name="vads_trans_id" value="239848" />
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="PAMdHJ8FJc2CqUJLXQLxz+e77K4k1YGJmI5mHqGN74g="/>
<input type="submit" name="pay" value="Pay"/>
</form>