POS Pine Labs
pos_pine_labs · odoo/odoo
Health
83/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_refCharhelp='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'
No public methods.
New fields (6)
-
pine_labs_allowed_payment_modeSelectionhelp='Accepted payment modes by Pine Labs for transactions.'selection=[('all', 'All'), ('card', 'Card'), ('upi', 'Upi')]string='Pine Labs Allowed Payment Modes' -
pine_labs_clientCharcopy=Falsehelp='A client id issued directly to the merchant by Pine Labs.'string='Pine Labs Client ID' -
pine_labs_merchantCharcopy=Falsehelp='A merchant id issued directly to the merchant by Pine Labs.'string='Pine Labs Merchant ID' -
pine_labs_security_tokenChargroups='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_storeCharcopy=Falsehelp='A store id issued directly to the merchant by Pine Labs.'string='Pine Labs Store ID' -
pine_labs_test_modeBooleanhelp='Test Pine Labs transaction process.'string='Pine Labs Test Mode'
-
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…