Odoo 19 app

Midtrans Payment Gateway

Midtrans Payment Gateway for Odoo 19 - Website, Invoices and POS

1 modulewebsite, invoices, payment links and POS15 methodsSHA5122 languagesEnglish and IndonesianWho it is for

What it does

Accept Midtrans payments in Odoo: the customer pays on the Midtrans Snap page with card, QRIS, GoPay, ShopeePay, OVO, DANA, bank virtual accounts, Akulaku or Kredivo, from the website checkout, an invoice, a payment link or the Point of Sale QR code. Every notification is checked with the Midtrans signature key, lost notifications are recovered with the Get Status API, and refunds are sent from Odoo.

Midtrans appears as a payment provider with its methods. Choosing Midtrans Snap opens the Midtrans page with every method active on your account; choosing a single method (QRIS, GoPay, BCA...) opens Snap with that method only. The order lines and the customer's name, email, phone and billing address are sent when you want them (switches on the provider).

When the customer comes back, Odoo asks Midtrans for the status with your server key: the query string of the return link is never trusted. The HTTP notification is accepted only when its signature key matches, and a repeated or late notification does not change a paid order.

A bank transfer or convenience store payment stays pending until the customer pays. The customer sees a clear pending message instead of a page that keeps waiting, the virtual account number is stored on the transaction, and the order is confirmed by the notification or by the scheduled status check.

With Odoo's Point of Sale online payment, add Midtrans to an online payment method: the register shows a QR code, the customer opens the payment page on the phone and pays on Midtrans, and the register shows Payment Successful as soon as Midtrans confirms.