Files
odoo_source/addons/payment_mercado_pago/README.md
T
Horacio TellezandAntoine Vandevenne 15058b6739 [ADD] payment_mercado_pago: integrate with Mercado Pago
Mercado Pago is the largest online payment platform in Latin America,
supports more countries, currencies and payment methods in the region
than other PSPs, and is more accessible to small businesses.

This commit integrates Odoo with a combination of the Checkout Pro and
Checkout API solutions of Mercado Pago to implement payments with
redirection to the provider's payment page.

Task - 2704764

Part-of: odoo/odoo#83957
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-08-30 20:21:54 +02:00

1.9 KiB

Mercado Pago

Implementation details

Supported features

  • Payment with redirection flow
  • Several payment methods such as credit cards, debit cards, and others.
  • Webhook notifications.

Not implemented features

API and gateway

We choose to integrate with a combination of the Checkout Pro and Checkout API solutions: The payment with redirection flow is initiated by sending a client HTTP request with a form-encoded payload like Checkout Pro's JavaScript SDK does under the hood. The remaining API calls are made according to the Checkout API's documentation. It was not possible to integrate with Checkout Pro only as it only allows redirecting customers to the payment page, nor with the Checkout API only as it requires building a custom payment form to accept direct payments from the merchant's website.

The other gateways were ruled out. See the task's dev notes for the details on the other gateways.

The API implemented by this module is not versioned.

Merge details

The first version of the module was specified in task 2704764 and merged with PR odoo/odoo#83957 in saas-15.5.

Testing instructions

https://www.mercadopago.com.mx/developers/en/docs/checkout-api/integration-test/test-cards