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_urlmode, 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
- Create a Mercado Pago application and copy Public Key + Access Token.
- Add a payment gateway: Mercado Pago CheckoutPro.
- Start in Test (or Stage), then move to Live credentials.
- 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.
- 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.
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
- Commerce Core commerce_payment
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first
Activity
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 |