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.