Repository
odoo/odoo · module folder
Module version
1.0
Category
Sales/Point of Sale
Folder size
0.45 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-08 22:45:29
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Tiffany Chang (tic), rhe-odoo, Louis Wicket (wil), Dylan Kiss (dyki), Louis Travaux, Max Whale, David Monnom, Krzysztof Magusiak (krma), Guillaume V, Stephane Vanmeerhaeghe (stva)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
pos_self_order_viva_com
Description

Code Analysis

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 (1)
Route(s)HandlerAuthTypeMethodsFlags
/pos_viva_com/notification PosVivaComController.notification none http ALL csrf off 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 (10)
  • viva_com_api_key Char
    help='Log into Viva.com then navigate to Settings > API Access > Access credentials' string='API Key'
  • viva_com_bearer_token Char
    default='Bearer Token'
  • 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
    help='Log into Viva.com then navigate to Settings > API Access > POS APIs Credentials' string='Client secret'
  • viva_com_latest_response Json
  • 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
Public methods (7)
  • create(self, vals_list)
    @api.model_create_multi
  • get_latest_viva_com_status(self)
  • 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)