Making one click Payment (using an existing mandate)

An existing and valid mandate is required. You must have registered a mandate (vads_page_action = REGISTER).

If you do not have one, see chapter Registering a mandate.

To make one click payment:

  1. Use all the fields of the table below to create your payment form.
    Table 1. Field list - Recurring payment by SEPA Direct Debit
    Field name Description Value
    vads_site_id Shop ID Eg.: 12345678
    vads_ctx_mode Operating mode TEST or PRODUCTION
    vads_trans_date Date and time of the payment form in UTC format Eg.: 20150721130128
    vads_action_mode Acquisition mode for bank data. INTERACTIVE
    vads_page_action Action required to register a mandate and perform a payment PAYMENT
    vads_identifier Reminder of the payment token to debit E.g.: 22e75ce992924f069279f42afe18da10
    vads_version Version of the exchange protocol V2
    vads_cust_email Buyer's e-mail address.

    Note:

    The buyer cannot modify the pre-filled e-mail address on the payment page.

    If the e-mail address in unknown, the buyer will have to enter it on the payment page.

    E.g.: name@example.com
    vads_amount Payment amount (in the smallest currency unit) E.g.: 2990 for 29.90€
    vads_currency Code of the payment currency 978 for Euro
  2. Set vads_page_action to PAYMENT.
  3. Populate the vads_identifier field with the mandate reference (UMR) that you obtained when registering the mandate.
  4. Set vads_action_mode to INTERACTIVE.SEPA Direct Debit is not compatible with the SILENT mode.
  5. Populate the vads_currency field with 978 (Euro code currency).Only the Euro currency is accepted for this payment method.
  6. Populate the vads_amount field with an amount in the smallest currency unit (in cents for Euro).
  7. If you would like to pre-fill the form, add the optional fields of the table below to create your payment form:
    Table 2. Field list - Recurring payment by SEPA Direct Debit
    Field name Description Value
    vads_cust_title Allows to specify the buyer's title. Eg.:
    • Mr
    • Mrs
    • Ms
    vads_cust_last_name Allows to specify the buyer's last name. Eg.: Dupont
    vads_cust_first_name Allows to specify the buyer's first name. Eg.: Jean
    vads_cust_cell_phone Buyer cell phone number to receive the security code (by SMS).

    Note:

    The buyer cannot modify the pre-filled cell phone number on the payment page. Only GSM-users having recorded this phone number at the moment of subscription can receive an SMS with this access code for single use.

    If the phone number in unknown, the buyer will have to enter it on the payment page.

    Eg.: 0612345678
    vads_cust_country Allows to specify the buyer's country code in compliance with the ISO 3166 standard. Eg.: FR
  8. Set vads_payment_cards if you would like to pre-select the payment method on the merchant website.

    Note:

    • If this list contains only one card type, the data entry page for this payment method will directly appear.

      Expected value for SEPA Direct Debit is SDD.

    • If there are more than one card types, the page with payment method selection will appear.
    • If this parameter is empty (recommended), the available payment methods (currencies, technical constraints, etc.) associated with the shop will be proposed.
  9. Add optional fields according to your requirements (see chapter Using additional functions).
  10. Compute the value of the signature field using all the fields of your form starting with vads_ (see chapter Computing the signature).