• France
lyra.com
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Home
Implementation
Embedded form (cards)
REST payment API
REST PCI-DSS payment API
REST SEPA API
Hosted payment
Data collection form
File exchange
Mobile payment
Snippets
Plugins
Marketplace
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Video tutorials
Support

Creating specific fields according to your requirements

The merchant can transmit specific information in the payment form. For example, the merchant can add information in the payment confirmation e-mail that he or she will receive.

This information will be visible in the Back Office, in transaction details ( Extras tab), and will also be returned in the notification URL.

The name must begin with vads_ext_info to be taken into account.

vads_ext_info_ fieldname =value
  1. Use the fields required for your use case (see chapter Generating a payment form) to create your payment form.
  2. Use the optional field vads_ext_info depending on your needs and respecting the syntax:
    vads_ext_info_ fieldname= value
    Where:
    • fieldname

      Allows to define the name of the field.

    • value

      Allows to define the value of the field.

    There are no restrictions to the number of specific fields that can be created.
    This/these field(s) will be returned with the response and will include the value transmitted in the form.
  3. Compute the value of the signature field using all the fields of your form that start with vads_ (see chapter Computing the signature).
<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="4000" />
<input type="hidden" name="vads_capture_delay" value="0" />
<input type="hidden" name="vads_ctx_mode" value="TEST" />
<input type="hidden" name="vads_currency" value="978" />
[...]
<input type="hidden" name="vads_ext_info_qty_articles" value="2" /> />
[...]
<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="20150826133115" />
<input type="hidden" name="vads_trans_id" value="722754" />
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="7896adcaf7338930db9715afa123531f42"/>
<input type="submit" name="pay" value="Pay"/>
</form>
Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE

2.9.0-doc-1.8