Skip to content
Health
83/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.41 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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
    groups='point_of_sale.group_pos_manager' 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…

Loading…