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 a PayPal payment notification:
vads_validation_mode = 0
vads_auth_mode = FULL
vads_page_action = PAYMENT
vads_warranty_result = NO
vads_currency = 978
vads_payment_src = EC
vads_cust_email = buyer.account@example.com
vads_threeds_cavv = 
vads_threeds_sign_valid = 
vads_threeds_cavvAlgorithm = 
vads_order_id = de1584
vads_contract_used = merchant.account-paypal@example.com
vads_threeds_xid = 
vads_capture_delay = 0
vads_auth_number = 
vads_threeds_enrolled = 
vads_threeds_eci = 
vads_effective_currency = 978
vads_card_brand = PAYPAL_SB
vads_payment_config = SINGLE
vads_authent_paypal_protection_eligibility = ELIGIBLE
vads_language = fr
vads_ext_trans_id = 99R37988MC077294L
vads_operation_type = DEBIT
signature = 4cfe755d6bd2b29612244596872f362e4c653f98
vads_sequence_number = 1
vads_threeds_error_code = 
vads_card_number = buyer.account@example.com
vads_payment_certificate = 1430532e2451a51a94508497b03b444b1d13dc5e
vads_result = 00
vads_trans_uuid = b91a50433d67411a841f59a2d104c0ba
vads_trans_date = 20190226103649
vads_ctx_mode = TEST
vads_action_mode = INTERACTIVE
vads_threeds_status = 
vads_effective_amount = 365
vads_version = V2
vads_presentation_date = 20190226103716
vads_trans_status = CAPTURED
vads_pays_ip = FR
vads_trans_id = 417702
vads_auth_result = 00
vads_extra_result = 
vads_threeds_exit_status = 
vads_card_country = 
vads_amount = 365
vads_effective_creation_date = 20190226103716
vads_site_id = 91335531