Payment-method icon

Titres-restaurant Drop-in integration

Add Titres-restaurant to your Drop-in integration

This page explains how to add Titres-Restaurant to your existing Web Drop-in integration.

Requirements

Requirement Description
Integration type Make sure that you have built your Web Drop-in integration.
The minimum required version is 5.4.0.
Setup steps Before you begin:

Import resources for v6

If you are using Web Drop-in v6, import the resources you need for Titres-Restaurant:

import { AdyenCheckout, MealVoucherFR} from '@adyen/adyen-web'

API reference

You do not need to send additional fields for Titres-Restaurant. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

Drop-in configuration

Select which endpoint you are using:

Test and go live

To test Titres-restaurant payments, you must get test credentials directly from the meal voucher issuer (Bimpli, Sodexo, or Up Déjeuner).

Before you can accept live payments, you must contact our Support Team to activate Titres-restaurant in your live environment.

Partial payments

For the Sessions flow:

When the meal voucher balance or transaction limit is less than the payment amount, the shopper can pay the rest with another payment method. A partial payment with a meal voucher works as follows:

  1. Your server makes a /sessions request with the full amount of the purchase.
  2. Drop-in sets up the session and shows the payment methods.
  3. The shopper enters their meal voucher details, and Drop-in checks the meal voucher balance.

    If the balance and the transaction limit cover the full amount, Drop-in makes the payment with the meal voucher, and does not create an order.

  4. If the balance or the transaction limit is less than the amount, Drop-in creates an order for the full amount. We send you a webhook message with eventCode: ORDER_OPENED.
  5. Drop-in makes the first partial payment with the meal voucher. We send you a webhook message with eventCode: AUTHORISATION.
  6. Drop-in updates the amount to the remaining amount, and shows the payment methods that the shopper can use to pay it.
  7. The shopper pays the remaining amount with another payment method, for example a card. Additional actions, like 3D Secure authentication or a redirect, work the same way as for any other payment. We send you a webhook message with eventCode: AUTHORISATION.
  8. When the authorized payments cover the full amount, we send you a webhook message with eventCode: ORDER_CLOSED and success: true. You can use this to fulfill the order, without waiting for the payments to be captured.
CnNlcXVlbmNlRGlhZ3JhbQogICAgcGFydGljaXBhbnQgU2VydmVyIGFzIFlvdXIgc2VydmVyCiAgICBwYXJ0aWNpcGFudCBEcm9wSW4gYXMgRHJvcC1pbgogICAgcGFydGljaXBhbn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2RzIGZvciB0aGUgcmVtYWluaW5nIGFtb3VudAogICAgRHJvcEluLT4+QWR5ZW46IC9zZXNzaW9ucy97aWR9L3BheW1lbnRzIGZvciB0aGUgcmVtYWluaW5nIGFtb3VudCwgd2l0aCB0aGUgb3JkZXIKICAgIG9wdCBUaGUgcGF5bWVudCBuZWVkcyBhbiBhZGRpdGlvbmFsIGFjdGlvbgogICAgICAgIERyb3BJbi0+PkFkeWVuOiAvc2Vzc2lvbnMve2lkfS9wYXltZW50RGV0YWlscwogICAgZW5kCiAgICBBZHllbi0tPj5Ecm9wSW46IFBheW1lbnQgcmVzdWx0CiAgICBBZHllbi0pU2VydmVyOiBBVVRIT1JJU0FUSU9OIHdlYmhvb2sKICAgIEFkeWVuLSlTZXJ2ZXI6IE9SREVSX0NMT1NFRCB3ZWJob29rLCBzdWNjZXNzIHRydWUK

If the shopper does not complete the payment:

  • If the shopper cancels the meal voucher payment in Drop-in, Drop-in cancels the order.
  • If the shopper does not pay the remaining amount, the order expires.

In both cases, we cancel or refund the partial payments, and send you a webhook message with eventCode: ORDER_CLOSED and success: false.

See also