Modifying the languages available to the buyer

You can customize the list of languages available to the buyer.

The last language selected by the buyer will be the default language for the payment confirmation e-mail.

  1. Use the fields required for your use case (see chapter Generating a payment form) to create your payment form.
  2. 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 Flag shown by default
    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 x
    If the value of the vads_available_languages field is wrong, the form will be rejected.
  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_available_languages" value="fr;en;es" />
<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="20140526101407" />
<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>