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.payzen.eu/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>