On this page, you can find additional configuration for adding Online banking Slovakia to your Components integration.
Before you begin
This page assumes you have:
- Built an integration with Components version 5.22.0 or later.
- Added Online banking Slovakia in your Customer Area.
- For Web Components v6, import the Component that you need for Online banking Slovakia:
import { AdyenCheckout, OnlineBankingSK } from '@adyen/adyen-web'
API reference
You don't need to send additional fields for Online banking Slovakia. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:
- /sessions: This is the default with Components v5.0.0 or later.
- /payments: If you implemented an additional use case.
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="onlineBanking_SK-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 onlineBanking_SK = new OnlineBankingSK(checkout).mount('#onlineBanking_SK-container');
v5.61.0 or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const onlineBanking_SKComponent = checkout.create('onlineBanking_SK').mount('#onlineBanking_SK-container');
Optional configuration
You can add the following optional configuration:
Parameter name | Description | Default |
---|---|---|
showImage |
Set to false to remove the bank logos from the Online banking Czech Republic form. | true |
issuer |
Set to an Online banking Slovakia issuer ID to preselect a specific bank. | No bank is preselected. |
highlightedIssuers |
Set to the Online banking Slovakia issuer IDs for banks you want to show on top of the dropdown menu. Added in v5.22.0 | All issuers are shown in the dropdown. |
placeholder |
The string you want to show as the dropdown menu text. Custom translation configuration overrides this value. | Select your bank |
If you want to add optional configuration, include this in a configuration object. The following example shows how to configure the Online banking Slovakia Component to remove the bank logos, and preselect Česká spořitelna:
const onlineBanking_SKConfiguration = {
showImage: false, // Optional. Set to **false** to remove the bank logos from the Online banking Czech Republic form.
issuer: "cs" // Optional. Set this to an **id** of an Online banking Czech Republic issuer to preselect it.
};
v6.0.0 or later
Create an instance of the Component, passing:
- Your instance of
AdyenCheckout
. - The payment method-specific configuration.
const onlineBanking_SK = new OnlineBankingSK(checkout, onlineBanking_SKConfiguration).mount('#onlineBanking_SK-container');
v5.61.0 or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create an instance of the Component. Add the configuration object if you created one.
const onlineBanking_SKComponent = checkout.create('onlineBanking_SK', onlineBanking_SKConfiguration).mount('#onlineBanking_SK-container');
List of issuer IDs
Bank name | Issuer ID |
---|---|
ePlatby VÚB | vub |
Poštová banka | posta |
Sporopay | sporo |
TatraPay | tatra |
Viamo | viamo |
Test and go live
Test Online banking Slovakia payments with real payment details and small amounts.
Check the status of your test Online banking Slovakia payments in your Customer Area > Transactions > Payments.
To accept live Online banking Slovakia payments, add it as a payment method in your Customer Area.