Skip to content
Health
42/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 47 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 13.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.02 MB
Module directory on disk
Code analysis 1 migration note 2 models 1 view 1 HTTP endpoint

Description

This module migrates the Adyen implementation from the Hosted Payment Pages API to the Pay by Link API.

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 1

XML IDNameModelTypeStatus
acquirer_form_adyen acquirer.form.adyen payment.acquirer form Inherits payment.acquirer_form

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) AdyenPayByLinkController.adyen_notification inherited http ALL sudo

Models touched 2

New fields (5)
  • adyen_api_key Char
    groups='base.group_user' help='The API key of the webservice user' required_if_provider='adyen' string='API Key'
  • adyen_checkout_api_url Char
    help='The base URL for the Checkout API endpoints' required_if_provider='adyen' string='Checkout API URL'
  • adyen_hmac_key Char
    groups='base.group_user' help='The HMAC key of the webhook' required_if_provider='adyen' string='HMAC Key'
  • adyen_skin_code Char
    default='Do not use this field'
  • adyen_skin_hmac_key Char
    default='Do not use this field'
Public methods (4)
  • adyen_form_generate_values(self, values)
  • adyen_get_form_action_url(self)
    Override of adyen_get_form_action_url
  • create(self, values_list)
    @api.model_create_multi
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • adyen_create(self, values)
    @api.model
    When the customer lands on the `/payment/process` route, `/payment/process/poll` try to find the transaction whose `date` field is between yesterday and now. Since the `date` field is only set when the state of the transaction is changed, if the customer comes back before the webhook, he will see a "transaction not found" page because the value of the `date` field would be `False`.

Loading…