On this page, you can find additional configuration for adding Napas card to your Components integration.
Before you begin
This page assumes you have already:
You don't need to send additional fields for Napas card. 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.
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:
Step 2: Create an instance of the Component
create method of your
AdyenCheckout instance, in this case
checkout, to create the Component:
const napasCardComponent = checkout.create('momo_atm').mount('#momo_atm-container');
Test and go live
To test Napas card payments, select any bank from the list and use the following test cards and credentials:
|Scenario||Card name||Card number||Expiry||One-time password|
|Successful||Nguyen Van A||9704000000000018||03/07||otp|
|Card blocked||Nguyen Van A||9704000000000026||03/07||otp|
|Insufficient funds||Nguyen Van A||9704000000000034||03/07||otp|
|Amount exceeded limit||Nguyen Van A||9704000000000042||03/07||otp|
Check the status of Napas card test payments in your Customer Area > Transactions > Payments.
Before you can accept live Napas card payments, you need to submit a request for Napas card in your live Customer Area.