Odoo 19 app

Omise Payment Gateway (Opn Payments)

Take cards, PromptPay, TrueMoney and Thai mobile banking in Odoo through your Omise account.

OmiseOpn PaymentsPromptPayTrueMoneyCards with 3-D SecurePayNowFPXDuitNow

What it does

Adds Opn Payments (formerly Omise) as a payment provider for shops and service businesses with an Omise account in Thailand, Singapore, Malaysia or Japan. The customer picks a method in Odoo, on the website, a portal invoice or a payment link. Odoo then opens the Omise payment window: card numbers are typed there and go straight to Omise, Odoo only gets a one-time token. Odoo creates the charge, sends the customer to the 3-D Secure or wallet page when Omise asks for it, shows the PromptPay or PayNow QR code itself, and reads the final result back from Omise. Refunds and captures are made from the payment in Odoo.

Who it is for

  • Thai webshops whose buyers pay by QR or banking app. A Thailand account can offer PromptPay, TrueMoney, Rabbit LINE Pay, ShopeePay, GrabPay, Alipay and mobile banking for KBank, SCB, Bangkok Bank, Krungthai and Krungsri next to cards. The PromptPay code is shown on an Odoo page that reloads every 8 seconds until Omise reports the result.
  • Sellers in Singapore and Malaysia. Singapore accounts get PayNow, GrabPay, Alipay HK, Touch 'n Go, DANA, GCash and KakaoPay. Malaysian accounts get FPX, DuitNow, GrabPay and Boost. Japanese accounts take cards only, in JPY without decimals.
  • Businesses that ship before they charge. With Capture Amount Manually on, card charges are created with capture=false. You capture or reverse the authorization from the payment in Odoo later. Wallet and QR methods are always charged straight away.
  • Firms that bill by invoice or payment link. The same provider works on portal invoices and payment links, not just the eCommerce checkout, because it builds on Odoo's payment and account_payment apps.

Features

CardsVisa, Mastercard, JCB and the brands on your account, entered in the Omise.js window; 3-D Secure when Omise asks for it
ThailandPromptPay QR, TrueMoney, Rabbit LINE Pay, ShopeePay, GrabPay, Alipay and mobile banking: KBank, SCB, Bangkok Bank, Krungthai and Krungsri
Singapore and MalaysiaPayNow, GrabPay, Alipay HK, Touch 'n Go, DANA, GCash, KakaoPay; FPX, DuitNow and Boost
QR codesPromptPay and PayNow codes are shown on an Odoo page that refreshes until the payment arrives; you choose how long a code stays valid
Account countrysets the settlement currency (THB, SGD, MYR or JPY), the charge limits and which methods are offered; JPY amounts are sent without decimals
Multi-currency cardsfor Thai and Singapore accounts that have it: card payments in USD, EUR, GBP and the other currencies Omise lists
Test Connectionreads your Omise account and stores the country, the minimum and maximum charge and the methods Omise has turned on for you
Manual captureauthorize the card at checkout, capture or reverse it from Odoo later
Refundsfull or partial, only where Omise marks the charge as refundable (PromptPay charges cannot be refunded through Omise)
Webhookseach notification is checked against its Omise-Signature, then the charge is read again from Omise before anything changes
API logevery call and notification with its status; card data, names and contact details masked

Setting it up

  1. Go to Invoicing > Configuration > Online Payments > Payment Providers and open Opn Payments (Omise).
  2. Paste the Omise Public Key and Omise Secret Key from the Omise dashboard, Keys. Use pkey_test_ and skey_test_ keys while the provider is in Test Mode.
  3. Press Test Connection. Odoo reads GET /capability and stores the account country, the minimum and maximum charge and the methods Omise has switched on for you.
  4. Copy the Omise Webhook URL into the Omise dashboard, Webhooks, and paste the webhook secret it shows into Omise Webhook Secret.
  5. On the Omise tab, check the account country, turn on Omise Multi-currency Cards if Omise enabled it for your Thai or Singapore account, and set the form title, form language and QR code validity.
  6. Leave on only the payment methods your account offers, pay a test order, then swap in the live keys and set the provider to Enabled.

Omise Payment Gateway (Opn Payments): questions

Which Odoo version and edition?

Odoo 19, Community or Enterprise. It needs the Payment and Invoicing apps (payment and account_payment). eCommerce is optional.

What happens if I mix test and live keys?

Odoo refuses the call. A key containing _test_ is rejected while the provider is Enabled, and a live key is rejected in Test Mode, so a test setup cannot take real money by mistake.

Can every payment be refunded from Odoo?

Only when Omise marks the charge as refundable. Partial refunds go through only when Omise says the charge allows them. PromptPay charges cannot be refunded through Omise, and Odoo shows an error instead of sending the request.

How are webhooks checked?

Each notification must carry a valid Omise-Signature, an HMAC-SHA256 of the timestamp and raw body made with your base64 webhook secret. Even then Odoo reads the charge again from Omise before it changes the payment.

What if a webhook never arrives?

A scheduled action runs every 5 minutes and reads open charges from Omise, for charges made between 3 minutes and 3 days ago. There is also a Check Status on Omise button on each transaction.

Where can I see what was sent to Omise?

Invoicing > Configuration > Online Payments > Omise API Log, for system administrators. Card data, names, e-mails, phones and addresses are masked, and entries older than 90 days are deleted by default.