oca-ocb-core/odoo-bringout-oca-ocb-payment_mercado_pago/payment_mercado_pago
Ernad Husremovic aee3ee8bf7 add missing payment providers and iot modules for 19.0
Add 19 payment provider modules needed by the sale module:
payment_adyen, payment_aps, payment_asiapay, payment_authorize,
payment_buckaroo, payment_demo, payment_dpo, payment_flutterwave,
payment_iyzico, payment_mercado_pago, payment_mollie, payment_nuvei,
payment_paymob, payment_paypal, payment_razorpay, payment_redsys,
payment_stripe, payment_worldline, payment_xendit

Add 3 IoT modules needed for point_of_sale:
iot_base, iot_box_image, iot_drivers

Note: Stripe test API keys replaced with placeholders.

🤖 assisted by claude
2026-03-09 15:45:22 +01:00
..
controllers add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
data add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
i18n add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
models add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
static add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
tests add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
views add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
__init__.py add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
__manifest__.py add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
const.py add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00
README.md add missing payment providers and iot modules for 19.0 2026-03-09 15:45:22 +01:00

Mercado Pago

Technical details

APIs:

This module integrates Mercado Pago using a combination of "Checkout Pro", "Checkout API", and "Checkout Bricks" APIs.

The card payment method uses the "Card Payment Brick" to enable direct payments, while other payment methods use the generic payment with redirection flow based on form submission provided by the payment module. Redirect payments send the same request payload as Checkout Pro's JavaScript SDK would. The remaining API calls are made to the Checkout API. It was not possible to only integrate the redirect flow with Checkout Pro as it only allows redirecting customers to the payment page, nor with only the Checkout API only as it requires building a custom payment form to accept direct payments from the merchant's website.

Supported features

  • Payment with redirection flow
  • Tokenization
  • OAuth authentication

Not implemented features

Module history

Testing instructions

https://www.mercadopago.com.mx/developers/en/docs/checkout-api/additional-content/your-integrations/test/cards

VISA

Card Number: 4075595716483764

Expiry Date: any future date

Security Code: any

Card holder: APRO

Email: test_user_[0-9]@testuser.com