Creating a Bancontact payment request

  1. Use all the fields of the table below to create your payment form.
    Field name Description Format Value
    vads_payment_cards Allows to force the card type to use.

    Leave empty to let the buyer choose between the eligible payment methods (depending on the currency, the minimum or maximum amount, the technical constraints) associated with the shop.

    enum
    • BANCONTACT to directly call the Bancontact payment button.
    • VISA;BANCONTACT to provide the choice between VISA and Bancontact.
    vads_page_action Action to perform enum PAYMENT
    vads_amount Payment amount in the smallest currency unit (cents for euro). n..12 E.g.: 3000 for 30,00 EUR
    vads_ctx_mode Defines the mode of interaction with the payment gateway. enum TEST or PRODUCTION
    vads_currency Numeric currency code to be used for the payment, in compliance with the ISO 4217 standard (numeric code). n3 Possible values:
    • 978 (EUR)
    vads_action_mode Acquisition mode for credit card data enum INTERACTIVE
    vads_cust_email Buyer’s e-mail address ans..150 E.g : abc@example.com
    vads_cust_country Country code in compliance with the ISO 3166 standard a2 Possible value: BE
    vads_cust_first_name First name ans..63 E.g : Laurent
    vads_cust_last_name Name ans..63 E.g : Durant
    vads_payment_config Payment type enum SINGLE
    vads_site_id Shop ID n8 E.g.: 12345678
    vads_trans_date Date and time of the payment form in UTC format n14

    Respect the YYYYMMDDhhmmss format

    E.g.: 20170701130025
    vads_trans_id Transaction number n6 E.g.: 123456
    vads_version Version of the exchange protocol with the payment gateway enum V2
  2. Add optional fields depending on your requirements (see chapter Using additional features of the Hosted Payment Page Implementation guide available in our online document archive).
  3. Compute the value of the signature field using all the fields of your form that start with vads_ (see chapter Computing the signature of the Hosted Payment Page Implementation guide available in our online document archive).