Checkout Pro Certified Developer

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.

Project information

Releases