On this page, you can find additional configuration for adding BLIK to your Components integration.
Before you begin
This page assumes you have already:
- Built your Components integration.
- Added BLIK in your Customer Area.
BLIK for Web requires at least v3.9.0 of Components. For more information, refer to Release notes.
API reference
Include fields for the endpoint you integrated:
You don't need to send additional fields for BLIK. To see optional fields that you can send for all payment methods, see:
-
/sessions: This is the default with Components v5.0.0 or later.
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="blik-container"></div>
Step 2: Create an instance of the Component
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const Component = checkout.create('blik').mount('#blik-container');
Test and go live
There is no test environment available for BLIK. You can test BLIK transactions in the live environment using any 6-digit number that starts with 777 as your blikCode
.
You can test different refused payment result scenarios by using the following amounts in your /payments request:
Refusal reason | Amount |
---|---|
ALIAS_DECLINED | 288.00 |
TAS_DECLINED | 192.00 |
USER_DECLINED | 144.00 |
SEC_DECLINED | 216.00 |
SYSTEM_ERROR | 264.00 |
GENERAL_ERROR | 360.00 |
INSUFFICIENT_FUNDS | 120.00 |
TIMEOUT | 312.00 |
LIMIT_EXCEEDED | 96.00 |
USER_TIMEOUT | 336.00 |
ISSUER_DECLINED | 9.99 |
Check the status of BLIK test payments in your Customer Area > Transactions > Payments.
Before you can accept live BLIK payments, add BLIK in your live Customer Area.