On this page, you can find additional configuration for adding Online banking Thailand to your Components integration.
Before you begin
This page assumes you've already:
You don't need to send additional fields for Online banking Thailand. 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 Thailand specific integration for Components.
//Create a payment method object for Online banking Thailand. let paymentMethod = paymentMethods.paymentMethod(ofType: molpayComponentPaymentMethod.self) //Create a configuration object for the Online banking Thailand Component. var molpayComponentConfiguration = molpayComponent.Configuration() //Set additional parameters on the configuration object. molpayComponentConfiguration.localizationParameters = //Optional custom localization parameters.
Test and go live
Using any issuer ID that is available for the Online banking Thailand Component for the respective country, make Online banking Thailand online banking test payments to test the different payment results.
Check the status of the Online banking Thailand test payments in your Customer Area > Transactions > Payments.