On this page, you can find additional configuration for adding Online banking Vietnam to your Components integration.
Before you begin
This page assumes you've already:
API reference
You don't need to send additional fields for Online banking Vietnam. 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="momo_atm-container"></div>
Step 2: Create an instance of the Component
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const momoAtmComponent = checkout.create('momo_atm').mount('#momo_atm-container');
Test and go live
To test Online banking Vietnam 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 Online banking Vietnam test payments in your Customer Area > Transactions > Payments.
Before you can accept live Online banking Vietnam payments, you need to submit a request for Online banking Vietnam in your live Customer Area.