Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Mercado Pago

Security covered Under active development 6 sites

Part of the Commerce ecosystem · 506 projects

This module integrates Mercado Pago Checkout Pro as a payment gateway for Drupal Commerce. It allows for redirecting customers to complete their payment through Mercado Pago and supports features like split payments and refunds.

This project implements Mercado Pago Checkout Pro as a payment gateway for Drupal Commerce, using the official Mercado Pago PHP SDK.

Features

  • Checkout Pro integration for Latin American markets
  • Two redirect modes:
    • Redirect (default): same browser window
    • External redirect: popup that closes when the buyer returns
  • Test, Stage, and Live credential modes
  • Installments and per-country payment types / methods, with exclusions from the gateway settings
  • Refunds from Drupal Commerce
  • Works with Commerce Shipping
  • Optional debug logging for troubleshooting

Payment notifications

  • Webhooks (recommended): signed notifications (x-signature), timestamp checks, and payment updates from the Mercado Pago API. Configure the Notification URL and webhook secret in Mercado Pago → Your integrations → Webhooks.
  • IPN (deprecated): legacy preference notification_url mode, kept for existing configurations. IPN will be removed in 4.0.x.

Requirements

  • Drupal ^10 || ^11 || ^12
  • PHP 8.2+
  • Commerce Payment
  • mercadopago/dx-php ^3.13 (pulled in by Composer)

Post-installation

  1. Create a Mercado Pago application and copy Public Key + Access Token.
  2. Add a payment gateway: Mercado Pago CheckoutPro.
  3. Start in Test (or Stage), then move to Live credentials.
  4. Configure Webhooks: paste the gateway Notification URL into Mercado Pago (Test or Production URL), enable Payments and commercial order events, paste the webhook secret into Drupal, select Webhooks, and save.
  5. Place a test order and confirm the Commerce payment is created from the notification and/or checkout return.

Documentation: Checkout Pro, Credentials, Webhooks.

See the module README for Webhooks vs IPN details and migration steps.

Drupal 10–11 PHP >=8.2

Ask your assistant about Commerce Mercado Pago

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Sep 2023
Latest release
2 weeks ago
Releases (12 mo)
5 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 PHP >=8.2 Nov 13, 2026
3.0.0-rc3 Pre-release 9–11 Feb 16, 2026
3.0.x-dev Dev 10–11 Feb 16, 2026
3.0.0-rc2 Pre-release 9–11 Feb 15, 2026
3.0.0-rc1 Pre-release 9–11 Feb 14, 2026
1.0.0-alpha3 Pre-release 9–11 Mar 3, 2025
1.0.0-alpha2 Pre-release 9–10 Dec 19, 2023
1.0.0-alpha1 Pre-release 9–10 Oct 23, 2023
1.0.x-dev Dev 9–11 Sep 17, 2023