--- title: "Online banking Thailand Web Component" description: "Add Online banking Thailand to your Components integration." url: "https://docs.adyen.com/payment-methods/online-banking-thailand/web-component" source_url: "https://docs.adyen.com/payment-methods/online-banking-thailand/web-component.md" canonical: "https://docs.adyen.com/payment-methods/online-banking-thailand/web-component" last_modified: "2026-05-26T13:48:55+02:00" language: "en" --- # Online banking Thailand Web Component Add Online banking Thailand to your Components integration. [View source](/payment-methods/online-banking-thailand/web-component.md) You can add Online banking Thailand to your existing integration. The following instructions show only what you must add to your integration specifically for Online banking Thailand. If an instruction on this page corresponds with a step in the main integration guide, it includes a link to corresponding step of the main integration guide. The additions you must make depends on the [server-side flow](/online-payments/build-your-integration) that your integration uses: ## Sessions flow Component ### Before-You-Begin ## Requirements | Requirement | Description | | | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - | | **Integration type** | Make sure that you have an existing Sessions flow [Web Components integration](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components). | | | **Checkout API** | Make sure that you use Checkout API v68 or later. | | | **Redirect handling** | Make sure that your existing integration is set up to [handle the redirect](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components#handle-the-redirect). `action.type`: **redirect** | | | **Setup steps** | Before you begin, [add Online banking Thailand in your Customer Area](/payment-methods/add-payment-methods). | | ### Add-Parameters-Sessions-Request ## Add additional parameters to your /sessions request You do not need to add any parameters when you [create a payment session](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components#create-a-payment-session). ### Import ## Import Online banking Thailand When you [import Adyen Web](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components#get-adyen-web), include `MolPayEBankingTH`. **Import** ```javascript import { AdyenCheckout, MolPayEBankingTH } from '@adyen/adyen-web'; ``` ### Add-Configuration ## Add additional configuration for Online banking Thailand [Configure the Component](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components#configure-the-component) with the following configuration object: | Parameter | Required | Description | | -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `issuer` | | Set to an [Online banking Thailand issuer ID](#issuer-ids) to preselect a specific bank. | | `highlightedIssuers` | | Set to the [Online banking Thailand issuer IDs](#issuer-ids) for banks you want to show on top of the dropdown menu. Added in [v5.1.0](/online-payments/release-notes?integration_type=web\&version=5.1.0) | | `showImage` | | Set to **false** to remove the bank logos from the Online banking Thailand form. | | `placeholder` | | The string you want to show as the dropdown menu text. Custom translation configuration overrides this value. | **Create a configuration object** ```javascript { issuer: "molpay_bangkokbank", highlightedIssuers: "molpay_bangkokbank", showImage: false, placeholder: "Select your bank" } ``` ### List of issuer IDs | Bank name | Issuer ID | | ------------------------ | -------------------------- | | Bangkok Bank | molpay\_bangkokbank | | Krungsri Bank | molpay\_krungsribank | | Krung Thai Bank | molpay\_krungthaibank | | The Siam Commercial Bank | molpay\_siamcommercialbank | | Kasikorn Bank | molpay\_kbank | ### Initialize ## Initialize the Component for Online banking Thailand To [initialize](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components#initialize-the-payment-session) Online banking Thailand, use the `MolPayEBankingTH` class. **Initialize the Component** ```javascript const molPayEBankingTHComponent = new MolPayEBankingTH(checkout, { // The configuration object for Online banking Thailand that you created. // Mount the Component to a container. }).mount('#molPayEBankingTH-container') ``` ## Test and go live Using any issuer ID that is available for the Online banking Thailand Component for the respective country/region, 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](https://ca-test.adyen.com/) > **Transactions** > **Payments**. Before you can accept live Online banking Thailand payments, you need to [submit a request for Online banking Thailand](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/). ## Advanced flow Component ## Requirements | Requirement | Description | | | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Advanced flow [Web Components integration](/online-payments/build-your-integration/advanced-flow?platform=Web\&integration=Components). | | | **Redirect handling** | Make sure that your existing integration is set up to [handle the redirect](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Components#handle-the-redirect). `action.type`: **redirect** | | | **Setup steps** | Before you begin, [add Online banking Thailand in your Customer Area](/payment-methods/add-payment-methods). | | ### Import ## Import Online banking Thailand When you [import Adyen Web](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Components#get-adyen-web), include `MolPayEBankingTH`. **Import** ```javascript import { AdyenCheckout, MolPayEBankingTH } from '@adyen/adyen-web'; ``` ### Initialize ## Initialize the Component for Online banking Thailand To [initialize](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Components#initialize-the-payment-session) Online banking Thailand, use the `MolPayEBankingTH` class. **Initialize the Component** ```javascript const molPayEBankingTHComponent = new MolPayEBankingTH(checkout, { // The configuration object for Online banking Thailand that you created. // Mount the Component to a container. }).mount('#molPayEBankingTH-container') ``` ### Add-Parameters-Payments-Request ## Add additional parameters to your /payments request You do not need to add any parameters to the [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request when you [make a payment](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Components#make-a-payment). ## Test and go live Using any issuer ID that is available for the Online banking Thailand Component for the respective country/region, 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](https://ca-test.adyen.com/) > **Transactions** > **Payments**. Before you can accept live Online banking Thailand payments, you need to [submit a request for Online banking Thailand](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/).