| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 1115 |
| Technical Name |
pos_upi_qr_payment |
| License | OPL-1 |
| Website | http://auraodoo.tech |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 1115 |
| Technical Name |
pos_upi_qr_payment |
| License | OPL-1 |
| Website | http://auraodoo.tech |
POS UPI QR Payment
Dynamic UPI QR Code on Point of Sale Payment Screen for India
Overview
A powerful Point of Sale module for Odoo 19 that generates dynamic UPI QR codes on the payment screen. Customers simply scan the QR code with any UPI app (Google Pay, PhonePe, Paytm, BHIM, or any other UPI-enabled application) and the cashier confirms payment manually.
This module is designed for Indian retail businesses that accept UPI payments. It requires no bank API integration and works completely offline-friendly.
Core Features
Dynamic QR Code Per Order
QR code contains merchant UPI ID, exact order amount, and order reference. Automatically regenerates for each transaction.
Works with ALL UPI Apps
Google Pay, PhonePe, Paytm, BHIM, and 100+ other UPI applications. No need to choose a specific app.
Manual Payment Confirmation
Cashier verifies payment receipt and clicks Mark as Paid. Simple, secure, and user-controlled.
No Bank API Required
Fully offline-friendly. No integration with banks or payment gateways needed.
UPI Transaction Logging
Complete audit trail with status, amount, merchant UPI ID, customer, and timestamps.
Server-Side QR Generation
Reliable Python qrcode library ensures scannable QR codes every time. Fallback to public API if needed.
Premium Features
- Sound Alert on Confirmation - Pleasant audio notification when cashier confirms payment
- Payment Timer - Shows elapsed time since QR was generated for payment tracking
- Per-POS Configuration - Different merchant UPI IDs for different POS terminals
- QR Regeneration - One-click button to regenerate QR if needed
- Transaction Dashboard - View all UPI transactions with filters by status, date, and session
- Mobile Responsive - Works seamlessly on tablets and mobile POS devices
How It Works
Step 1: Configuration
Go to POS Settings → Enable UPI QR Payment → Enter your merchant UPI ID and business name
Step 2: Setup Payment Method
Create a payment method named UPI with Type Manual and select it in settings
Step 3: At POS
Add items to order and click UPI payment method button
Step 4: Customer Scans
QR popup appears → Customer uses any UPI app to scan and pay
Step 5: Confirmation
Cashier verifies payment and clicks Mark as Paid button
Step 6: Complete
Order is finalized and transaction is logged in audit trail
UPI QR Code Format
The QR code encodes a standard UPI deep link that works with all UPI applications:
upi://pay?pa=merchant@upi&pn=StoreName&am=250.00&cu=INR&tn=Order-Reference
| Parameter | Description |
|---|---|
pa |
Merchant UPI ID (Payee Address) - Example: merchant@upi, shop@paytm |
pn |
Merchant display name shown in UPI apps |
am |
Payment amount in rupees |
cu |
Currency - Always INR for India |
tn |
Transaction note or order reference |
Installation
- Download and copy pos_upi_qr_payment folder to your custom addons directory
- Install Python qrcode library: pip install qrcode[pil]
- In Odoo, go to Settings → Apps → Update Apps List
- Search for "POS UPI QR Payment" and click Install
- Module is now ready to configure
Configuration
1. Enable UPI QR Payment
Go to Point of Sale → Configuration → Settings → Enable UPI QR Payment checkbox
2. Enter Merchant UPI ID
Enter your UPI address in format: merchant@upi, shop@paytm, or 9876543210@ybl
3. Enter Merchant Display Name
Enter your business/shop name as it should appear in UPI payment apps
4. Create UPI Payment Method
Go to Point of Sale → Payment Methods → New → Set Name to UPI, Type to Manual
5. Select UPI Payment Method
In UPI QR Payment settings, select the UPI payment method you created
6. Optional: Sound Alert
Toggle Sound Alert on Confirmation to enable audio notification on successful payment
Technical Requirements
Software Requirements
- Odoo 19.0
- point_of_sale module
- Python 3.6+
Python Dependencies
- qrcode[pil] - Server-side QR generation
- Pillow - Image processing for QR
Data Models
pos.config (Extended)
- upi_qr_enabled - Enable/disable feature
- upi_merchant_id - Merchant UPI address
- upi_merchant_name - Business display name
- upi_payment_method_id - Payment method
- upi_sound_alert - Audio notification
pos.upi.transaction (New)
- id - Transaction ID
- name - Reference number
- pos_order_id - Linked POS order
- amount - Payment amount
- merchant_upi_id - UPI used
- state - confirmed/generated/cancelled
- confirmed_at - Timestamp
API Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/pos_upi_qr/generate |
POST (JSON) | Generate QR code image for UPI payment |
/pos_upi_qr/log_transaction |
POST (JSON) | Create transaction log entry |
/pos_upi_qr/confirm_transaction |
POST (JSON) | Mark transaction as confirmed |
Ideal For
- Retail shops and boutiques accepting UPI payments
- Restaurants and cafes wanting quick payment processing
- Grocery stores and supermarkets with high transaction volume
- Pharmacies and convenience stores
- Service businesses requiring manual payment confirmation
- Businesses without integrated payment gateway support
Documentation
Getting Started Guide
Complete README.md file included in the module with detailed setup instructions and troubleshooting tips.
Module Information
| Version | 19.0.1.0.0 |
| License | LGPL-3 |
| Odoo Version | 19.0 |
| Category | Sales / Point of Sale |
| Author | Your Company |
| External Dependencies | python-qrcode, Pillow |
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