Payment-method icon

BLIK Web Component

Add BLIK to an existing Components integration.

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

Requirements

Requirement Description
Integration type Make sure that you have built your Components integration.

BLIK for Web requires at least v3.9.0 of Components. For more information, refer to Release notes.

Setup steps Before you begin, add BLIK in your test Customer Area.

Import resources for v6

If you are using Web Components v6, import the Component that you need for BLIK:

Copy code
import { AdyenCheckout, Blik } from '@adyen/adyen-web'

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:

Copy code
 <div id="blik-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.
Copy code
const  = new Blik(checkout).mount('#blik-container');

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

Copy code
const Component = checkout.create('blik').mount('#blik-container');

API reference

Include fields for the endpoint you integrated:

You do not need to send additional fields for BLIK. To see optional fields that you can send for all payment methods, see:

Test and go live

To test a BLIK One Click payment:

  • Use BLIK code 999016.
  • Make sure your implementation satisfies BLIK’s guidelines.
  • Test your integration end-to-end.

Going live

Before you can accept live BLIK payments, you need to add BLIK in your live Customer Area.

See also