No momento, esta página não está disponível em português
Payment-method icon

Bancontact mobile Component

Add Bancontact mobile to an existing Components integration.

This page explains how to add Bancontact mobile to your existing Web Components integration.

Use our Component to redirect the shopper to the Bancontact app, depending on how they are accessing your site:

  • For shoppers on desktop or laptop, the shopper is presented a QR code.
  • For shoppers on mobile, the shopper is switched to the Bancontact app. If this fails, the shopper is presented a QR code as a fallback.
  • For shoppers on tablet, the shopper is presented with both a QR code and a button to switch to the Bancontact app.

Requirements

Requirement Description
Integration type Make sure that you have built your Web Components integration.
Setup steps Before you begin:

API reference

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

Component configuration

Step 1: Create a DOM element

Create a DOM element on your checkout page, placing it where you want the payment method form to be rendered:

 <div id="bcmc_mobile-container"></div>

Step 2: Create an instance of the Component

v6.0.0 or later

Create an instance of the Component, passing:

  • Your instance of AdyenCheckout.
const bcmcMobile = new (checkout).mount('#bcmc_mobile-container');

Use the create method of your AdyenCheckout instance, in this case checkout, to create the Component:

const bcmcMobileComponent = checkout.create('bcmc_mobile').mount('#bcmc_mobile-container');

Recurring

Bancontact supports tokenization for recurring payments.

We strongly recommend that you ask explicit permission from the shopper if you intend to make future recurring payments. Being transparent about the payment schedule and the charged amount reduces the risk of SEPA Direct Debit chargebacks.

You can use recurring transactions through the Bancontact Wallet Initiated Program (WIP) and SEPA Direct Debit.

Bancontact Wallet Initiated Program

The Bancontact Wallet Initiated Program (WIP) is a service that streamlines checkout and supports subscription-based billing. It offers the following:

  • Bancontact One-Click Pay to speed up checkout and boost conversion rates
  • Bancontact Recurring to support merchant-initiated recurring or subscription payments

You have to sign up to be able to use this service and not all companies are eligible to use Bancontact WIP. To enable Bancontact WIP, contact our Support Team.

When you enable Bancontact WIP, transaction amount limits apply to ensure controlled and secure payments.

Shoppers go through Strong Customer Authentication (SCA) one time when they complete their first transaction and give their consent. Subsequent transactions do not require SCA, which reduces friction and improves the checkout flow. Because the transaction goes through SCA, there is a liability shift.

Make a recurring payment

To make recurring payments, you need to:

  1. Create a shopper token.
  2. Use the token to make future payments for the shopper.
Bancontact recurring payments are not available in the test environment. To test your integration, do a penny test in the live environment instead.

Create a token

To create a token, include in your /sessions or /payments request:

  • storePaymentMethod: true
  • shopperReference: Your unique identifier for the shopper (minimum length three characters).

When the payment has been settled, you receive a webhook containing:

  • eventCode: RECURRING_CONTRACT
  • originalReference: The pspReference of the initial payment.
  • pspReference: This is the token that you need to make recurring payments for this shopper.

Make sure that your server is able to receive RECURRING_CONTRACT as part of your standard webhooks. You can enable the RECURRING_CONTRACT event code in the webhook settings page.

Make a payment with a token

To make a payment with the token, include in your /payments request:

  • paymentMethod.storedPaymentMethodId: The pspReference from the RECURRING_CONTRACT. You can also get this value by using the /listRecurringDetails endpoint.
  • shopperReference: The unique shopper identifier that you specified when creating the token.
  • shopperInteractionContAuth.
  • recurringProcessingModel: Subscription or UnscheduledCardOnFile.

For more information about the shopperInteraction and recurringProcessingModel fields, refer to Tokenization.

The following example shows a recurring Subscription payment using SEPA Direct Debit.

Test and go live

Bancontact does not have a test platform, but you can simulate authorized or declined payments.

To simulate authorized or declined payments, make a test payment using the following last three digits for the payment amount:

Amount ending in Description Result
000 Simulates an approved transaction within fifteen seconds. Authorised
123 Simulates a refused transaction within fifteen seconds. Refused

Any other scenarios must be tested in the live environment using real payment details and small amounts.

Before you can accept live payments, you need to submit a request for Bancontact in your live Customer Area.