Payment Cielo
payment_cielo · OCA/l10n-brazil
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
payment_provider_form— 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. (2 occurrences in this file) 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
Payment Provider: Cielo implementation for the Odoo payment framework.
This module lets customers pay online with a credit card processed by Cielo, through the Cielo E-commerce API 3.0. It supports:
- payment in a single installment, captured immediately or manually;
- manual capture and void of an authorized payment;
- full refund of a captured payment;
- tokenization: the card is saved on the Cielo side and only the card token returned by Cielo is stored by Odoo.
The card details never reach the database, and every payload and every response is redacted before being logged: a log file is not a place where a card number may be kept, and a security code may not be stored at all.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inline_form |
inline_form | ir.ui.view | qweb | New |
payment_provider_form |
Cielo Provider Form | payment.provider | form | Inherits payment.payment_provider_form |
payment_token_form |
Cielo Token Form | payment.token | form | Inherits payment.payment_token_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/payment/cielo/payment |
CieloController.cielo_payment |
public | json | ALL | sudo |
Models touched 3
-
cielo_merchant_idChargroups='base.group_system'help='The store identifier provided by Cielo, in the GUID format.'required_if_provider='cielo'string='Merchant Id' -
cielo_merchant_keyChargroups='base.group_system'help='The authentication key provided by Cielo, 40 characters long.'required_if_provider='cielo'string='Merchant Key' -
cielo_soft_descriptorCharhelp='The name that appears on the credit card statement of the customer. Cielo limits it to 13 characters.'string='Soft Descriptor' -
codeSelectionondelete={'cielo': 'set default'}selection_add=[('cielo', 'Cielo')]
No public methods.
-
cielo_card_brandCharhelp='The brand of the card, as named by Cielo. It must be sent along with the card token on every payment request.'readonly=Truestring='Card Brand'
No public methods.
No new fields.
Public methods (0)No public methods.
Loading…