Repository
odoo/odoo · module folder
Module version
1.0
Category
Sales/Point of Sale
Folder size
0.37 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-15 22:44:21
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Tiffany Chang (tic), Louis Wicket (wil), Dylan Kiss (dyki), visp-odoo, manv-afk, paan-odoo, David Monnom, abhk-odoo
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
pos_self_order_pine_labs
Description
Allow Pine Labs POS payments
==============================

This module is available only for companies that use INR currency.
It enables customers to pay for their orders using debit/credit cards and UPI through Pine Labs POS terminals.
A Pine Labs merchant account is required to process transactions.
Features include:

* Quick payments by swiping, scanning, or tapping your credit/debit card or UPI QR code at the payment terminal.
* Supported cards: Visa, MasterCard, RuPay.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
pos_payment_method_view_form_inherit_pos_pine_labs pos.payment.method.form.inherit.pos.pine.labs pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
view_pos_payment_form_inherit_pine_labs pos.payment.form.inherit.pos.pine.labs pos.payment form Inherits point_of_sale.view_pos_payment_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • pine_labs_plutus_transaction_ref Char
    help='Required during the refund order process: https://developer.pinelabs.com/in/instore/cloud-integration#Example-JSON-request-for-Void-ICB-on-UPI-transaction' string='PineLabs Transaction ID'
Public methods (0)

No public methods.

New fields (6)
  • pine_labs_allowed_payment_mode Selection
    help='Accepted payment modes by Pine Labs for transactions.' selection=[('all', 'All'), ('card', 'Card'), ('upi', 'Upi')] string='Pine Labs Allowed Payment Modes'
  • pine_labs_client Char
    copy=False help='A client id issued directly to the merchant by Pine Labs.' string='Pine Labs Client ID'
  • pine_labs_merchant Char
    copy=False help='A merchant id issued directly to the merchant by Pine Labs.' string='Pine Labs Merchant ID'
  • pine_labs_security_token Char
    help='A security token issued directly to the merchant by Pine Labs.' string='Pine Labs Security Token'
  • pine_labs_store Char
    copy=False help='A store id issued directly to the merchant by Pine Labs.' string='Pine Labs Store ID'
  • pine_labs_test_mode Boolean
    help='Test Pine Labs transaction process.' string='Pine Labs Test Mode'
Public methods (3)
  • pine_labs_cancel_payment_request(self, data)
    Cancels a payment request via Pine Labs POS API. :param dict data: Contains `amount` and `plutusTransactionReferenceID`. :return: Success response with `responseCode` and `notification` or error with `errorMessage`. :rtype: dict
  • pine_labs_fetch_payment_status(self, data)
    Fetches payment status from the Pine Labs POS API. :param dict data: Contains `plutusTransactionReferenceID` for the status request. :return: On success, returns `responseCode`, `status`, `plutusTransactionReferenceID`, and `data` (formatted transaction details). On failure, returns an error message. :rtype: dict
  • pine_labs_make_payment_request(self, data)
    Sends a payment request to the Pine Labs POS API. :param dict data: Contains `amount`, `transactionNumber`, and `sequenceNumber`. :return: On success, returns `responseCode`, `status`, and `plutusTransactionReferenceID`. On failure, returns an error message. :rtype: dict

Loading…