Skip to content
Health
77/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 17.0

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

Security findings
Grave / minor (static analysis)
Required by
0
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.42 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 1 HTTP endpoint

Description

Dependencies

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
pos_payment_method_view_form_inherit_pos_mercado_pago pos.payment.method.form.inherit.mercado_pago pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/pos_mercado_pago/notification PosMercadoPagoWebhook.notification public http POST csrf off sudo

Models touched 1

New fields (5)
  • mp_bearer_token Char
    groups='point_of_sale.group_pos_manager' help='Mercado Pago customer production user token: https://www.mercadopago.com.mx/developers/en/reference' string='Production user token'
  • mp_id_point_smart Char
    help='Enter your Point Smart terminal serial number written on the back of your terminal (after the S/N:)' string='Terminal S/N'
  • mp_id_point_smart_complet Char
  • mp_webhook_endpoint Char
    compute='_compute_mp_webhook_endpoint' readonly=True string='Mercado Pago Webhook Endpoint'
  • mp_webhook_secret_key Char
    groups='point_of_sale.group_pos_manager' help='Mercado Pago production secret key from integration application: https://www.mercadopago.com.mx/developers/panel/app' string='Production secret key'
Public methods (6)
  • create(self, vals_list)
    @api.model_create_multi
  • force_pdv(self)
    Triggered in debug mode when the user wants to force the "PDV" mode. It calls the Mercado Pago API to set the terminal mode to "PDV".
  • mp_order_create(self, infos)
    Called from frontend to create an order in Mercado Pago
  • mp_order_get(self, order_id)
    Called from frontend to get the order status from Mercado Pago
  • mp_order_refund(self, order_id, amount=None)
    Called from frontend to refund a Mercado Pago order.
  • write(self, vals)

Loading…

Loading…

Loading…