Adyen Payment Acquirer/Pay by Link Patch
payment_adyen_paybylink · odoo/odoo
Merged into payment_adyen in 15.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 47 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
acquirer_form_adyen— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module migrates the Adyen implementation from the Hosted Payment Pages API to the Pay by Link API.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
acquirer_form_adyen |
acquirer.form.adyen | payment.acquirer | form | Inherits payment.acquirer_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | AdyenPayByLinkController.adyen_notification |
inherited | http | ALL | sudo |
Models touched 2
New fields (5)
-
adyen_api_keyChargroups='base.group_user'help='The API key of the webservice user'required_if_provider='adyen'string='API Key' -
adyen_checkout_api_urlCharhelp='The base URL for the Checkout API endpoints'required_if_provider='adyen'string='Checkout API URL' -
adyen_hmac_keyChargroups='base.group_user'help='The HMAC key of the webhook'required_if_provider='adyen'string='HMAC Key' -
adyen_skin_codeChardefault='Do not use this field' -
adyen_skin_hmac_keyChardefault='Do not use this field'
-
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.modelWhen 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…