On this page, you can find additional configuration for adding Online banking Thailand to your Components integration.
Before you begin
This page assumes you have already:
API reference
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 additional use case.
Component configuration
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Online banking Thailand Component:
//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.
There is no required Online banking Thailand-specific integration for Components.
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.
Before you can accept live Online banking Thailand payments, you need to submit a request for Online banking Thailand in your live Customer Area.