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:
Import resources for v6
If you are using Web Components v6, import the Component that you need for Online banking Poland:
import { AdyenCheckout, OnlineBankingPL } from '@adyen/adyen-web'
API reference
Select which endpoint you are using:
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_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
.
const onlineBanking_PL = new OnlineBankingPL(checkout).mount('#onlineBanking_PL-container');
v5.x.x or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
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.