lyra.com
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Home
Implementation
Embedded form
Hosted payment page
REST payment API
Webservices implementation guide
File exchange payment
Mobile payment
Marketplace
Helpers and tools
Free payment plugins
Snippets
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Support

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 result transmitted in the vads_trans_status field.
    Its value allows you to define the order status.
    Value Description
    ABANDONED

    Payment abandoned by the buyer

    The transaction was not created, and is therefore not visible in the Expert Back Office .

    CAPTURED

    Captured

    The transaction has been captured by the bank.

    CANCELLED

    Canceled

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

    REFUSED

    Refused

  3. Retrieve the payment reference transmitted in the vads_trans_id field.
  4. Retrieve the field vads_trans_uuid containing the unique reference of the transaction generated by the payment server.
  5. Retrieve the value of the vads_trans_date field to identify the payment date.
  6. Retrieve the used amount and currency. To do this, retrieve the values of the following fields:
    Table 1. Analysis of the payment amount and currency
    Field name Description
    vads_amount Payment amount in the smallest currency unit.
    vads_currency Numeric code of the currency used for the payment.
  7. Retrieving data from payment method used for the payment by analysing the following fields:
    Nom du champ Description
    vads_card_brand Used payment method.
    Populated with:
    • FULLCB3X for payment in 3 installments .
    • FULLCB3X for payment in 4 installments .
    vads_acquirer_network Acquirer network code. Populated with FULLCB .
  8. 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.
  9. Proceed to order update.
Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE