Odoo Community Association

Payment Cielo

Alpha License: AGPL-3 OCA/l10n-brazil Translate me on Weblate Try me on Runboat

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:

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

Installation

This module depends on:

  • payment

Configuration

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

Usage

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).

Known issues / Roadmap

  • 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.

Bug Tracker

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.

Credits

Authors

  • KMEE INFORMATICA LTDA

Contributors

Other credits

The development of this module has been supported by:

KMEE INFORMATICA LTDA

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

DiegoParadeda

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.