Retrieving data returned in the response

The data returned in the response depends on the parameters sent in the payment form, on the payment type and on 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 in POST mode.

The first step consists in retrieving the content received in POST mode.

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 a one-off SEPA 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= 20140812102855
vads_trans_id= 426085
vads_validation_mode= 0
vads_version= V2
vads_warranty_result= NO
vads_payment_src= EC
vads_cust_email= exemple@gmail.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= 20140812103104
vads_identifier= 20140812zVNOcO
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_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= 8721c5ae4772b4163b2d56bc5aa8aa760a657f67