Retrieving data returned in the response

The data returned in the response depends on the parameters sent in the payment form, the payment type and the settings of your shop This data constitutes a field list. Each field contains a response value. The field list can be updated.

The data is always sent by the payment gateway using the POST method.

The first step consists in retrieving the contents received via the POST method.

Examples:

  • In PHP, data is stored in the super global variable $_POST,

  • In ASP.NET (C#), you must use the Form property of the HttpRequest class.

  • In Java, you must use the getParameter method of the HttpServletRequest interface.

    The script will have to create a loop to retrieve all the transmitted fields.

Example of data sent during the notification following a one-off direct debit:
vads_amount= 2990
vads_auth_mode= FULL
vads_auth_number= 
vads_auth_result= 00
vads_capture_delay= 6
vads_card_brand= SDD
vads_card_number= FR7630002005701234567890158_CRLYFRPP
vads_payment_certificate= 
vads_ctx_mode= TEST
vads_currency= 978
vads_effective_amount= 2990
vads_site_id= 91335531
vads_trans_date= 20160812102855
vads_trans_id= 426085
vads_validation_mode= 0
vads_version= V2
vads_warranty_result= NO
vads_payment_src= EC
vads_cust_email= me@example.com
vads_cust_title= M.
vads_cust_name= Paul Juve
vads_sequence_number= 1
vads_contract_used= FR7630002005701234567890158
vads_trans_status= AUTHORISED
vads_identifier_status= CREATED
vads_pays_ip= FR
vads_presentation_date= 20140818103142
vads_effective_creation_date= 20160812103104
vads_identifier= 20160812zVNOcO
vads_operation_type= DEBIT
vads_threeds_enrolled= 
vads_threeds_cavv= 
vads_threeds_eci= 
vads_threeds_xid= 
vads_threeds_cavvAlgorithm= 
vads_threeds_status= 
vads_threeds_sign_valid= 
vads_threeds_error_code= 4
vads_threeds_exit_status= 4
vads_result= 00
vads_trans_uuid= 1cd9994823334e31bbb579b4d716832d
vads_extra_result= 00
vads_card_country= 
vads_language= fr
vads_hash= 3894b953f1ab44d70aa3a29120a0dd2ec802c1c6cbd3ffa4353b927a894dfc4f
vads_url_check_src= PAY
vads_action_mode= INTERACTIVE
vads_payment_config= SINGLE
vads_page_action= PAYMENT
signature= N1tBWwRk64s/7SPKZYieJ6a82X8b5gYg7iA+Bhp8ZTI=