Payment Cielo

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.
Important
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
More details on development status
Table of contents
Using this module requires an eCommerce Cielo account
(https://www.cielo.com.br/e-commerce/api/). The MerchantId and
MerchantKey credentials are secret and are given by Cielo when the
account is opened.
To configure the provider go to Invoicing -> Configuration -> Payment
Providers -> Cielo and fill in:
- Merchant Id: the store identifier, in the GUID format;
- Merchant Key: the 40 characters long authentication key;
- Soft Descriptor: the name shown on the credit card statement of
the customer. Cielo truncates it to 13 characters.
While the provider is in the Test Mode state, the sandbox of Cielo
(apisandbox.cieloecommerce.cielo.com.br) is used, with the very same
credentials. Set the provider to Enabled to reach production.
Cielo settles in BRL only: the provider is filtered out of the payment
methods offered to the customer for any other currency.
Full manual of the API:
https://developercielo.github.io/manual/cielo-ecommerce
Once the provider is enabled and published, the customer selects Credit
Card (powered by Cielo) on the payment page and fills in the card
number, the card holder, the expiration date and the security code. The
card details are sent to Cielo by the Odoo server and are never stored
in the database.
When the customer asks for the card to be saved, Cielo returns a card
token that is saved as a payment token: subsequent payments are made
with that token.
If the provider is configured with Capture Amount Manually, the
payment is only authorized. Use the Capture and Void buttons of the
transaction to confirm or release the amount, within the deadline of
Cielo (5 days for most brands).
- The card details transit through the Odoo server, which puts the
merchant in the scope of the PCI-DSS SAQ D questionnaire. An
implementation based on Cielo Checkout, where the card is entered on a
page hosted by Cielo, would avoid it.
- Only a single installment is supported. Installments, debit cards, Pix
and the anti-fraud analysis of Cielo are not implemented yet.
- Refunds are full only, although the API of Cielo supports partial
refunds.
- Zero Auth (/1/zeroauth) is not used to validate a card: a payment
of BRL 1.00 is authorized and voided instead.
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
feedback.
Do not contact contributors directly about support or help with technical issues.
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
Current maintainer:

This module is part of the OCA/l10n-brazil project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.