Payment-method icon

PayNow Component

Add PayNow to an existing Components integration.

This page explains how to add PayNow 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.
The minimum required version is 5.31.3.
Setup steps Before you begin, contact our Support Team to add PayNow in your Customer Area.

Import resources for v6

If you are using Web Components v6, import the Component that you need for PayNow:

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

API reference

You do not need to send additional fields for PayNow. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

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="paynow-container"></div>

Step 2: Create an instance of the Component

v6.0.0 or later

When you create an instance of the Component, you can optionally configure the following:

Parameter Description
countdownTime
v6.0.0 or later
The number of minutes after the QR code loads that the shopper must complete the payment.

For example:

Optional Pix configuration
Expand view
Copy link to code block
Copy code
Copy code
const payNowConfiguration = {
// Optional configuration.
countdownTime: 5
};

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

Copy code
const paynowComponent = checkout.create('paynow').mount('#paynow-container');

Test and go live

Before you can accept live payments, you must contact our Support Team to add PayNow in your live Customer Area.

You can penny test PayNow payments in your live Customer Area, using small amounts and a real banking app to scan a test QR.

You can check the status of PayNow payments in your live Customer Area > Transactions > Payments.

We recommend not to test PayNow payments in your test Customer Area. You cannot reverse bank transfers in the test environment, and the funds will be deducted from the bank account.

See also