• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Processing the response data

Here is an example of analysis to guide you through processing the response data.

  1. Identify the order by retrieving the value of the vads_order_id field.
    Make sure that the order status has not been updated yet.
  2. Retrieve the payment reference transmitted in the vads_trans_id field.
  3. Retrieve the value of the vads_trans_date field to identify the payment date.
  4. Retrieve the used amount and currency. To do this, retrieve the values of the following fields:
    Field name Description
    vads_amount Payment amount in the smallest currency unit.
    vads_currency Numeric code of the currency used for the payment.
  5. Retrieve all the order, buyer and shipping details.
    These details will be provided in the response only of they have been transmitted in the payment form.
    Their values are identical to the ones submitted in the form.
  6. Analyze the value of the vads_sequence_number field:
    VALUE DESCRIPTION
    0

    Case of a cascading payment. Several payment methods were used to pay for the order.

    The list of payment methods used by the Buyer can be found in the vads_payment_seq field (in the JSON format).

    For more information, see chapter Analyzing the result of a cascading payment.

    1 Order paid entirely with Edenred electronic vouchers.
  7. Analyze the value of the vads_card_brand field:
    Its value allows to know if the order has been paid in full with Edenred electronic vouchers or if a complementary payment is required.
    VALUE DESCRIPTION
    MULTI

    Case of a cascading payment. Several payment methods were used to pay for the order.

    The list of payment methods used by the Buyer can be found in the vads_payment_seq field (in the JSON format).

    For more information, see chapter Analyzing the result of a cascading payment.

    EDENRED_TR Order paid entirely with Ticket Restaurant.
    EDENRED_EC Order paid entirely with Ticket EcoCheque.
    EDENRED_TC Order paid entirely with Ticket Compliments.
    EDENRED_SC Order paid entirely with Ticket Sport & Culture.
  8. If the order was paid entirely with Edenred electronic vouchers, retrieve the payment result transmitted in the vads_trans_status field.
    Its value allows you to define the order status.
    VALUE DESCRIPTION
    CAPTURED

    The payment voucher was validated in real time.

    REFUSED

    Transaction is declined.

    See the chapter Analyzing the result of the request authorization to obtain more information on the reason of payment rejection.

    ABANDONED

    Payment abandoned by the buyer

    The transaction is visible in the Expert Back Office.

  9. If the order was paid using several payment methods, see the following chapter with the vads_payment_seq field analysis.
  10. Proceed to order update.
Jobs
Legal
GDPR
25.28-1.11