Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. Midtrans Payment Gateway - Snap Checkout, QRIS, GoPay, Virtual Account | Midtrans Payment for Website and POS v 19.0
  4. Sales Conditions FAQ

Midtrans Payment Gateway - Snap Checkout, QRIS, GoPay, Virtual Account | Midtrans Payment for Website and POS

by Modvanta https://modvantaapps.tech/odoo-apps/payment-midtrans/
Odoo

$ 28.92

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Midtrans Payment Gateway for Odoo 19 - Website, Invoices and POS

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

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.

MidtransMidtrans PaymentMidtrans Payment GatewaySnapQRISGoPayShopeePayVirtual AccountIndonesia PaymentPayment Gateway IndonesiaPoint of SaleIDR
Buy Now - $29Ask a Question
Written and supported by Modvanta - modvantaapps@gmail.com
1 module
website, invoices, payment links and POS
15 methods
card, QRIS, e-wallets, virtual accounts, pay later
SHA512
signature key checked on every notification
2 languages
English and Indonesian

Who it is for

Shops in Indonesia selling in rupiah (IDR) on the Odoo website or at an Odoo Point of Sale.
Companies that send invoices or payment links and want customers to pay them by QRIS, e-wallet, card or bank transfer through their Midtrans account.

Key features

Midtrans at the website checkout

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).

Website checkout with Midtrans

Paid orders are confirmed by Midtrans, not by the browser

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.

Order paid by QRIS

Virtual accounts and other payments that are paid later

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.

Virtual account payment pending

Point of Sale: scan to pay

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.

POS scan to pay QR code

Walk-in customers at the register

An order without a customer sends no customer details at all (not the shop's, not the public user's name), and the pay-later methods that need a known buyer are left out.

Customer payment page from the POS QR code

Order paid in the register

The POS order is marked paid with the Midtrans payment line, ready to print the receipt.

POS payment successful

Simple setup

Enter the server key (and the merchant ID for reference), copy the Payment Notification URL into the Midtrans dashboard, and check the key with Test Connection. Test mode uses the Midtrans sandbox, Enabled uses production. The provider is installed disabled.

Midtrans provider credentials

Payment page options

Payment expiry in minutes, send the order lines, send the customer details, and how long to keep the API log.

Midtrans provider options

Everything Midtrans said, on the transaction

Midtrans transaction ID, status and fraud status, method used, virtual account number, card and approval code, plus buttons to check the status or cancel an unpaid payment on Midtrans (the Snap page before a method is chosen, the transaction after).

Transaction with Midtrans details

API log

Every call and notification is logged with its answer, keys and contact details masked, and cleaned up after the number of days you set.

Midtrans API log

How it works

1
Install - the provider is created disabled, with the Midtrans methods attached.
2
Configure - enter your server key, copy the notification URL into the Midtrans dashboard and run Test Connection.
3
Publish - set the provider to Test mode on the sandbox, then Enabled on production.
4
Get paid - customers pay on Midtrans; Odoo confirms each payment from the notification or the status check, every 10 minutes for the ones still waiting.
5
Refund - refund from the payment in Odoo, in full or in part where Midtrans allows it.

Refunds and cancellations

Card, GoPay, ShopeePay, DANA, OVO, QRIS, Kredivo and Akulaku payments refund from Odoo with a refund key, so a retry cannot refund twice. ShopeePay and OVO refund in full only, as Midtrans documents.
Bank transfers (virtual accounts) have no Midtrans refund: Odoo says so and sends nothing.
An unpaid payment can be cancelled on Midtrans from the transaction; expired payments are cancelled in Odoo by the scheduled check.

What is not included

The Snap pop-up (Snap.js) is not used: customers are redirected to the Midtrans page.
No card pre-authorisation capture, saved cards, GoPay tokenization or subscriptions.
Only Indonesian rupiah (IDR).
Tested against a local simulator built from the Midtrans documentation; it was not run against the Midtrans sandbox or production. You need your own Midtrans account and keys.

FAQ

Do I need a Midtrans account?
Yes. Register at midtrans.com, then copy the server key from Settings - Access Keys in the Midtrans dashboard (sandbox and production have their own keys).
Where do I put the notification URL?
The provider shows the Payment Notification URL. Paste it in the Midtrans dashboard under Settings - Configuration. It must be reachable from the internet.
Does it work in the Point of Sale?
Yes, with Odoo's Point of Sale online payment module: add Midtrans to an online payment method of the register.
Which Odoo versions and editions?
Odoo 19, Community and Enterprise. It needs Payment and Invoicing; eCommerce and Point of Sale are used when installed.
Is the module translated?
Yes, in Indonesian, for the provider, the transaction and every message.

Midtrans is a trademark of its owner. This module is not affiliated with or endorsed by Midtrans.

Support

Questions, a bug or a change you need: write to modvantaapps@gmail.com. We answer every message.

Buy Now - $29
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 1004
Technical Name mdv_payment_midtrans
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/payment-midtrans/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with