| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/19.0/pos_safaricom |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Sales/Point of Sale |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo S.A. |
| MAINTAINERS | |
| MAINTAINERS | Odoo S.A. |
| COMMITTERS | |
| COMMITTERS | Odoo Translation Bot, Dylan Kiss (dyki), Max Whale, Radu Macocian (admac), Léopold Cantraine |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 01:51:47 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - point_of_sale - resource - base - web - stock_account - stock - product - base_setup - bus - web_tour - html_editor - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - http_routing - auth_signup - account - onboarding - analytic - phone_validation - partner_autocomplete - iap_mail - iap - iot_base - google_address_autocomplete |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
pos_payment_method_view_form_inherit_pos_safaricom |
pos.payment.method.form.inherit.safaricom | pos.payment.method | xpath | Inherits point_of_sale.pos_payment_method_view_form |
business_short_code
Char
help="The business short code and till number combination as 'shortcode-tillnumber' (ex: 123456-789012)"
string='Business Short Code'
consumer_key
Char
string='Consumer Key'
consumer_secret
Char
string='Consumer Secret'
passkey
Char
help='The passkey is used to generate the password for the STK Push'
string='Passkey'
safaricom_payment_type
Selection
default='mpesa_express'
selection=[('mpesa_express', 'M-PESA Express'), ('lipa_na_mpesa', 'Lipa na M-PESA')]
string='Payment Type'
safaricom_test_mode
Boolean
default=True
help='Use sandbox environment'
string='Test Mode'
create(self, vals_list)
generate_qr_code(self, data)
lipa_na_mpesa_register_urls(self)
mark_transaction_used(self, transaction_id)
mpesa_express_send_payment_request(self, data)
amount
Integer
string='Amount'
name
Char
string='Name'
number
Char
string='Number'
received_at
Datetime
string='Received At'
trans_id
Char
string='Transaction ID'
No public methods.