Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 12.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
AGPL-3
No conflicts with its dependencies
Folder size
0.43 MB
Module directory on disk
Code analysis 1 migration note 3 models 5 views 2 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
assets_common Payment Pagseguro Assets Common ir.ui.view qweb Inherits web.assets_common
assets_frontend payment_pagseguro assets ir.ui.view qweb Inherits web.assets_frontend
pagseguro_form pagseguro_form ir.ui.view qweb New
pagseguro_s2s_form pagseguro_s2s_form ir.ui.view qweb New
payment_acquirer_form_view payment.acquirer.form (in payment_pagseguro) payment.acquirer form Inherits payment.acquirer_form

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/payment/pagseguro/s2s/create_json_3ds PagseguroController.pagseguro_s2s_create_json_3ds public json ALL csrf off
/payment/pagseguro/public_key PagseguroController.payment_pagseguro_get_public_key public json ALL

Models touched 3

New fields (2)
  • pagseguro_token Char
    groups='base.group_user' required_if_provider='pagseguro'
  • provider Selection
    ondelete={'pagseguro': 'set default'} selection_add=[('pagseguro', 'Pagseguro')]
Public methods (2)
  • pagseguro_s2s_form_process(self, data)
    @api.model
    Saves the payment.token object with data from PagSeguro server Cvc, number and expiry date card info should be empty by this point.
  • pagseguro_s2s_form_validate(self, data)
    Validates user input

New fields (2)
  • card_holder Char
    required=False string='Holder'
  • pagseguro_card_token Char
    required=False string='Pagseguro card Token'
Public methods (1)
  • pagseguro_create(self, values)
    @api.model
    Treats tokenizing data. Formats the response data to the result and returns a resulting dict containing card token, formated name (Customer Name or Card holder name) and partner_id will be returned.

New fields (3)
  • pagseguro_s2s_capture_link Char
    required=False string='Capture Link Pagseguro'
  • pagseguro_s2s_check_link Char
    required=False string='Check Link Pagseguro'
  • pagseguro_s2s_void_link Char
    required=False string='Cancel Link'
Public methods (5)
  • log_transaction(self, reference, message)
    Logs a transaction. It can be either a successful or a failed one.
  • pagseguro_s2s_capture_transaction(self)
    Captures an authorized transaction.
  • pagseguro_s2s_do_transaction(self, **kwargs)
  • pagseguro_s2s_void_transaction(self)
    Voids an authorized transaction.
  • pprint_filtered_response(response)
    @staticmethod

Loading…

Loading…