Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 19.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.69 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 3 HTTP endpoints

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_viva_com pos.payment.method.form.inherit.viva.com pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
/pos_viva_com/notification PosVivaComController.notification none http ALL csrf off sudo
/pos_viva_com/<int:config_id>/abort/<string:order_uuid> PosVivaComController.viva_abort_callback public http GET sudo
/pos_viva_com/<int:config_id>/payment/<string:order_uuid> PosVivaComController.viva_payment_callback public http GET sudo

Models touched 2

New fields (1)
  • viva_com_session_id Char
    help='Session ID of the transaction, stored so that it can be used to refund the payment.'
Public methods (0)

No public methods.

New fields (9)
  • viva_com_api_key Char
    groups='point_of_sale.group_pos_manager' help='Log into Viva.com then navigate to Settings > API Access > Access credentials' string='API Key'
  • viva_com_bearer_token Char
    default='Bearer Token' groups='point_of_sale.group_pos_manager'
  • viva_com_client_id Char
    help='Log into Viva.com then navigate to Settings > API Access > POS APIs Credentials' string='Client ID'
  • viva_com_client_secret Char
    groups='point_of_sale.group_pos_manager' help='Log into Viva.com then navigate to Settings > API Access > POS APIs Credentials' string='Client secret'
  • viva_com_merchant_id Char
    help='Log into Viva.com then navigate to Settings > API Access > Access credentials' string='Merchant ID'
  • viva_com_terminal_id Char
    help='[ID of the Viva.com terminal], e.g. 16002169' string='Terminal ID'
  • viva_com_test_mode Boolean
    help='Run transactions in the test environment.' string='Test mode'
  • viva_com_webhook_endpoint Char
    compute='_compute_viva_com_webhook_endpoint' readonly=True
  • viva_com_webhook_verification_key Char
    groups='point_of_sale.group_pos_manager'
Public methods (6)
  • create(self, vals_list)
    @api.model_create_multi
  • viva_com_get_payment_status(self, session_id)
  • viva_com_send_payment_cancel(self, data)
  • viva_com_send_payment_request(self, data)
  • viva_com_send_refund_request(self, data)
  • write(self, vals)

Loading…