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 already been updated.
  2. Retrieve the payment result transmitted in the vads_trans_status field.
    Its value allows you to define the order status.

    The possible values depend on the capture mode:

    Immediate capture:
    Value Description
    CAPTURED

    Captured

    The transaction has been captured by the bank.

    ABANDONED

    payment abandoned by the buyer.

    The transaction has not been created, and therefore cannot be viewed in the Merchant Back Office.

    CANCELLED

    Canceled

    Cancellation by the buyer, the acquirer or the payment gateway.

    REFUSED

    Declined

    Deferred capture:

    Value Description
    WAITING_AUTHORISATION

    Waiting for authorization.

    The payment gateway waits for the acquirer’s response. Batch synchronization allows to automatically update the transaction status.

    TO_VALIDATE

    To be validated

    The merchant must manually validate the transaction within 182 days to debit the buyer’s account.

    If validation occurs after this period, the payment will be rejected by the acquirer and the transaction status will become Declined.

    There is no automatic batch expiration date. Without any action on the merchant’s part the transaction status will always remain To be validated

    AUTHORISED_TO_VALIDATE

    To be validated and authorized

    AUTHORISED

    The transaction has been accepted and will be automatically captured at the bank on the expected date.

    ABANDONED

    payment abandoned by the buyer.

    The transaction has not been created, and therefore cannot be viewed in the Merchant Back Office.

    CANCELLED

    Canceled

    Cancellation by the buyer, the acquirer or the payment gateway.

    REFUSED

    Declined

  3. Retrieve the payment reference transmitted in the vads_trans_id field.
  4. Retrieve the value of the vads_trans_date field to identify the payment date.
  5. 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 EUR currency (978).
  6. Retrieve the used payment method by analyzing the vads_card_brand field.
    will be set to PAYDIREKT.
  7. 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.
  8. Proceed to order update.