MercadoPago Integration
CommunityIntegrate Mercado Pago payments into your Filament v5 admin panel with Checkout Pro, Point terminals, QR codes, OAuth, webhooks, and refunds.
Author:
Borei Studio
Package health
BetaAutomated checks of this plugin's Composer package
13 checks
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
>=8.3supports current PHP8.5. - Skipped: Current Symfony version supported
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 1 days ago; last release 1 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
- Passed: GitHub Actions pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Passed: Dependabot or Renovate configured
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Requirements
- Installation
- Configuration
- OAuth — Connect your Mercado Pago account
- Feature Toggles
- Documentation
- Security
- Testing
- Changelog
A Filament v5 plugin that integrates Mercado Pago payments into your Laravel application. Supports Checkout Pro (online payments), Point (in-person terminal payments), QR codes, OAuth account connection, webhooks, refunds, and in-panel documentation.
#Requirements
- PHP 8.2+
- Laravel 11+ / 12+
- Filament 5.x
#Installation
composer require boreistudio/filament-mercadopago
php artisan migrate
Register the plugin in your PanelProvider:
use BoreiStudio\FilamentMercadoPago\MercadoPagoPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(MercadoPagoPlugin::make());
}
#Configuration
A Settings → Mercado Pago → Credentials page appears in the Filament panel for superadmins to configure the application credentials (client_id, client_secret, webhook_secret, country). All sensitive values are stored encrypted.
The plugin supports two modes:
- Single-tenant: one MP account for the whole app.
- Multi-tenant: each tenant connects their own MP account via OAuth.
The mode is auto-detected from your panel's tenancy configuration.
#OAuth — Connect your Mercado Pago account
Navigate to Settings → Mercado Pago → Connect MP and click Connect with Mercado Pago. After authorizing, tokens are stored encrypted in the database. Tokens are refreshed automatically before expiration.
#Feature Toggles
MercadoPagoPlugin::make()
->payments() // Checkout Pro (default: true)
->point(false) // Point terminals (default: false)
->qr(false) // QR codes (default: false)
->stores(false) // Stores & POS (auto-enabled by point/qr)
->dashboard(true) // Dashboard widget (default: true)
->documentation(true) // In-panel documentation (default: true)
->navigationGroup('Mercado Pago');
#Documentation
Full documentation is available in the docs/ directory and also accessible from the Filament panel at Settings → Mercado Pago → Documentation.
#Security
- All tokens (
access_token,refresh_token,client_secret) are stored encrypted in the database. - Webhook notifications are validated via HMAC-SHA256 signature before processing.
- Refund amounts are validated server-side before calling the MP API.
- No sensitive data is logged.
- See
SECURITY.mdfor reporting vulnerabilities.
#Testing
./vendor/bin/pest
Integration tests against the Mercado Pago sandbox are available under the sandbox group:
MERCADOPAGO_SANDBOX_ACCESS_TOKEN=TEST-... ./vendor/bin/pest --group=sandbox
#Changelog
See CHANGELOG.md.
The author
We are an agency dedicated to custom software development and audiovisual design. We focus on tailored and scalable solutions.
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese