POS Worldline
pos_worldline · odoo/odoo
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 19.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.11 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
1 HTTP endpoint
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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
pos_payment_method_view_form_inherit_pos_worldline |
pos.payment.method.form.inherit.worldline | pos.payment.method | form | Inherits point_of_sale.pos_payment_method_view_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/pos_worldline/webhook |
PosWorldline.worldline_webhook |
public | http | POST | csrf off sudo |
Models touched 1
New fields (5)
-
worldline_api_keyChargroups='point_of_sale.group_pos_manager' args: 'Worldline API Key' -
worldline_merchant_idCharargs: 'Worldline Merchant ID' -
worldline_terminal_idCharargs: 'Worldline Terminal ID' -
worldline_test_modeBooleanargs: 'Worldline Test Mode' -
worldline_webhook_urlCharcompute='_compute_worldline_webhook_url' args: 'Worldline Webhook URL'
-
action_worldline_test(self)Test the credentials by showing a 'Connected to Odoo Point Of Sale' image on the terminal -
worldline_cancel_transaction(self, exchange_id, payment_uuid, pos_session_id)Cancel the ongoing transaction identified by "exchange_id" on the terminal. Worldline answers synchronously (with 200) once the cancel signal is delivered to the terminal. If no transaction is in progress, the terminal ignores the request. The abort is confirmed only by a webhook notification answering the abort request. : exchange_id: The ExchangeIdentification of the ongoing request to cancel : payment_uuid: The identifier of the payment being cancelled : pos_session_id: The identifier of the POS session -
worldline_create_transaction(self, transaction_type, amount, payment_uuid, pos_session_id) -
worldline_get_transaction_status(self, exchange_id)Ask the terminal for the outcome of the transaction identified by "exchange_id". Called repeatedly until transaction/cancellation is complete as a fallback for webhook notifications :return: ``{"status": "pending"}`` while in progress, otherwise {"status": "done", ...} with the same keys as the webhook notification.
Loading…