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:
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:
- /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="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:
const payNowConfiguration = { // Optional configuration. countdownTime: 5 };
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.