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:
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 advanced use case, or integrated Components before v5.0.0.
There is no required Online banking Vietnam specific integration for Components.
//Create a payment method object for Online banking Vietnam. let paymentMethod = paymentMethods.paymentMethod(ofType: momo_atmComponentPaymentMethod.self) //Create a configuration object for the Online banking Vietnam Component. var momo_atmComponentConfiguration = momo_atmComponent.Configuration() //Set additional parameters on the configuration object. momo_atmComponentConfiguration.localizationParameters = //Optional custom localization parameters.
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.