Payment-method icon

Online banking Poland Component

Add Online banking Poland to an existing Components integration.

This page explains how to add Online banking Poland to your existing Web Components integration.

Requirements

Select the server-side flow that your integration uses:

Requirement Description
Integration type Make sure that you have built a Sessions flow Web Components integration.
Setup steps Before you begin, add Online banking Poland in your Customer Area.

Import resources for v6

If you are using Web Components v6, import the Component that you need for Online banking Poland:

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

API reference

Select which endpoint you are using:

This is the default with Components v5.0.0 or later.

Parameter name Required Description
shopperEmail -white_check_mark- The shopper's email address. Maximum length: 50 characters.

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="onlineBanking_PL-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 onlineBanking_PL = new OnlineBankingPL(checkout).mount('#onlineBanking_PL-container');

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

Copy code
const onlineBanking_PLComponent = checkout.create('onlineBanking_PL').mount('#onlineBanking_PL-container');

Test and go live

Check the status of Online banking Poland test payments in your Customer Area > Transactions > Payments.

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

See also