Midtrans Payment Provider
Integrate Midtrans payment provider in Odoo with secure payment processing, redirection flow, and webhook support, enabling seamless online transactions, reliable payment notifications, and efficient eCommerce payment management.
Midtrans Payment Provider
Integrate the Midtrans payment gateway directly into Odoo to securely accept online payments. Enjoy seamless checkout, automatic transaction synchronization, and 20+ local payment methods.
App Overview
Introduction
The Midtrans Payment Provider module integrates the Midtrans payment gateway directly into Odoo, allowing businesses to securely accept online payments from their website and eCommerce store. The module provides a seamless redirection-based checkout experience, automatic transaction synchronization, and real-time webhook notifications for payment status updates.
With this integration, customers are redirected securely to Midtrans to complete payments, while Odoo automatically tracks transaction states such as pending, paid, failed, cancelled, or refunded. The module is designed using Odoo's native payment provider architecture and supports both sandbox and production environments without requiring core modifications.
Purpose
The Midtrans Payment Provider module delivers significant value for regional eCommerce businesses:
- • Enhanced Customer Experience: Offer customers their preferred local payment methods (20+ including e-wallets, debit cards and bank transfers), reducing cart abandonment and building immediate credibility with local buyers.
- • Automated Fulfillment: Eliminate manual payment verification. Odoo updates the order status with zero delay upon successful transaction.
- • Reduced Administrative Overhead: Automatic invoice validation instantly reduces accounting workload upon successful transactions.
Targeted Businesses
Southeast Asian eCommerce Stores
Essential for businesses operating in Indonesia and surrounding regions where local e-wallets such as GoPay, ShopeePay, and QRIS are the preferred payment methods for online transactions.
Service Providers (ERP, SaaS, Consulting)
Ideal for ERP vendors, SaaS companies, consultants, and service providers that require secure online payments, automated invoice settlement, and a seamless customer payment experience through Odoo.
Business Use Cases
Indonesian eCommerce Stores
Context: An online apparel store wants to provide customers with trusted local payment methods directly from the Odoo checkout page.
2. Pays via GoPay or QRIS using their mobile device.
3. Midtrans instantly synchronizes payment status with Odoo.
Online Retail Businesses
Context: A retail business selling electronics wants to automate payment collection without manual intervention.
2. Midtrans webhook updates transaction status automatically.
3. Orders are confirmed immediately after payment.
ERP Implementation Companies
Context: An Odoo implementation partner requires a ready-to-use Indonesian payment gateway for client deployments.
2. Test using Sandbox mode and webhook validation.
3. Switch seamlessly to Production environment.
Virtual Account Payments
Context: Companies handling B2B transactions need reliable virtual account payment processing and verification.
2. Generates unique VA numbers automatically.
3. Midtrans validates payments without manual checks.
Key Features
Midtrans Payment Integration
Integrates Midtrans as a payment provider inside Odoo payment methods and eCommerce checkout flow.
Local Payment Methods
Support for regional favorites including GoPay, ShopeePay, QRIS and various Virtual Accounts (BCA, Mandiri, BNI, etc.).
Secure Payment Processing
Uses secure Midtrans redirection flow for customer payments with encrypted transaction handling.
Website & eCommerce Support
Compatible with Odoo website checkout and online payment workflows.
Real-Time Webhook Notifications
Automatically receives payment status updates from Midtrans through webhook callbacks.
Automatic Payment Synchronization
Transaction statuses are updated automatically in Odoo after payment completion or status changes.
Refund Support
Supports partial refund functionality using Odoo payment framework integration.
Native Odoo Payment Architecture
Built using Odoo's official payment provider framework without overriding core files.
Configuration & Workflow
Follow the seamless configuration workflow below. Managing the Midtrans payment gateway, setting up merchant credentials, and conducting checkout and refund workflows are integrated effortlessly into the Odoo ecosystem.
Provider Configuration Panel
Displays the Payment Providers dashboard in Odoo with the Midtrans provider listed among available payment gateways. Administrators can quickly activate or manage the provider directly from this screen.
Midtrans Provider Configuration
Shows the Midtrans configuration form where administrators configure authentication credentials such as Merchant ID, Client Key and Server Key. The provider can be managed in Disabled, Enabled, or Test Mode.
Checkout and Payment Method Selection Flow
Customers review their order summary and proceed to checkout. During payment selection, Midtrans appears as an available payment method for secure online transactions.

Midtrans Hosted Payment Page
After clicking Pay Now, customers are redirected to the secure Midtrans-hosted payment page where they can complete payments using supported payment methods such as QRIS, Virtual Accounts, Cards and ShopeePay.
Payment Confirmation in Odoo
Once payment is completed successfully, Odoo automatically confirms the transaction and redirects the customer to the order confirmation page with payment success details.
Confirmed Payment Transaction in Odoo
Displays the confirmed payment transaction record in Odoo, including transaction reference, customer details, payment method, provider reference and synchronized payment status.
Refund Transaction Process
Administrators can initiate full or partial refunds directly from the payment transaction using the refund wizard available in Odoo.
Refund Confirmation and Transaction Synchronization
After processing the refund, Odoo automatically synchronizes the refund status with Midtrans and records refund activities in the chatter log for audit tracking.
Refund Child Transaction
Odoo automatically creates a linked child transaction for refund records, ensuring complete refund traceability and reconciliation management.
Midtrans Merchant Dashboard Transaction
Shows the synchronized transaction and refund details inside the Midtrans Merchant Dashboard, allowing merchants to verify payment lifecycle activities directly from Midtrans.
Invoice Payment through Customer Portal
Customers can securely pay invoices directly from the Odoo customer portal using the Midtrans payment provider.
Invoice Payment Confirmation
After successful payment, Odoo automatically updates the invoice status to Paid and displays the payment confirmation details to the customer.
Frequently Asked Questions
Technical Details
Dependencies
• Invoicing (account)
• Discuss (mail)
License
OPL-1
Need Assistance?
Email Support
contact@gritxi-tech.comAny Questions?
Have questions about this app?
Fill out the form below and our team will get back to you with more information.
Customer Reviews
Share your experience with this module.
Write a Review
Latest Reviews
No reviews yet. Be the first to share your thoughts!