On this page, you can find additional configuration for adding KNET to your Components integration.
Before you begin
This page assumes you have already:
API reference
Select which endpoint you are integrating:
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="knet-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 knet = new Redirect(checkout, { type: 'knet' }).mount('#knet-container');
v5.61.0 or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const knetComponent = checkout.create('knet').mount('#knet-container');
Test and go live
To test KNET payments, use the test card details provided by Tap.
Before you can accept live KNET payments, you need to submit a request for KNET in your live Customer Area.