Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sdk Laravel Package

mercadopago/sdk

Official Mercado Pago SDK for PHP. Add payments, checkout, subscriptions, and refunds to your Laravel or PHP app through a consistent API for managing preferences, customers, payments, and webhooks, making it easy to accept and process payments across Latin America.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Market expansion into Latin America (Brazil, Argentina, Mexico, Colombia, Chile, Peru): MercadoPago is the default payment rail for a large share of LatAm e-commerce. Choosing this SDK is really a decision about which markets we can transact in, which directly gates localization, currency, and pricing roadmaps.
  • Build vs. buy for payment orchestration: The package is a thin PHP wrapper over MercadoPago's REST API (checkout preferences, payments, refunds, webhooks, subscriptions). Adopting it lets the team ship payment flows in days instead of building signature verification, retry semantics, and status normalization from scratch—freeing engineering capacity for differentiated product work.
  • Checkout model selection: Supports Checkout Pro (hosted redirect), Checkout API/Transparent (embedded), and QR/in-person flows. Each has different conversion, compliance, and PCI-scope implications—a concrete product tradeoff this SDK makes cheap to experiment with.
  • Marketplace and split-payment monetization: MercadoPago's marketplace and application_fee primitives enable take-rate models, seller onboarding, and payout logic without building a ledger—relevant to any two-sided commerce roadmap.
  • Subscription/recurring revenue roadmap: preapproval support underpins plan-based pricing experiments (trial, dunning, upgrade/downgrade) without a separate billing vendor.
  • Roadmap risk flag, not a feature decision: This specific repository is DEPRECATED (last release April 2019, zero dependents). The real PM decision it drives is "which maintained MercadoPago client do we standardize on?"—typically mercadopago/dx-php—and when to schedule the migration. Treat this package as a reference implementation and integration-pattern source, not a long-term dependency.

When to Consider This Package

Consider (with a migration caveat) when:

  • You are a Laravel/PHP shop with LatAm customers or LatAm expansion on the roadmap and need a payment provider with local methods (boleto, Pix, Mercado Pago wallet, local cards) and local-currency settlement.
  • You need a thin, well-understood integration and are comfortable that the underlying REST API is stable even if the PHP wrapper is not.
  • You are retrofitting an existing legacy integration and need to understand the original SDK's request/response shapes, error codes, or webhook payloads while rewriting or debugging.
  • You want a cheap spike/POC to validate LatAm conversion before committing to a payment strategy—acceptable only in non-production environments.

Look elsewhere when:

  • You are building greenfield. Use the actively maintained mercadopago/dx-php or call the REST API directly; a 2019-deprecated package with zero dependents and no security patching is a latent incident and audit finding.
  • Your compliance posture (PCI DSS, SOC 2, internal vulnerability SLAs) requires maintained dependencies—deprecation alone typically fails procurement review.
  • You are not selling into LatAm; Stripe/Adyen offer better global coverage, tooling, and documentation.
  • You need modern async/concurrent payment execution, typed DTOs, or framework-native Laravel packages—the ecosystem has moved on.
  • You require vendor support contracts; a deprecated community SDK has none.

How to Pitch It (Stakeholders)

To executives (one paragraph):

MercadoPago is the leading payments platform across Latin America and is effectively table stakes for selling in Brazil, Argentina, and Mexico. This SDK is a free, MIT-licensed PHP client that lets us integrate it quickly—weeks of work instead of months—and supports the checkout, marketplace split, and subscription models our revenue roadmap depends on. Important caveat: this particular repository is officially deprecated (last updated 2019) with no active dependents, so we should treat it as an accelerator and reference, not our production foundation. My recommendation is to adopt MercadoPago as the LatAm payment provider while standardizing engineering on the maintained SDK, and to budget a small, one-time migration effort rather than inherit long-term maintenance and security risk.

To engineering leads (summary of fit and cost):

The package is a straightforward, low-abstraction HTTP wrapper around MercadoPago's REST endpoints—checkout preferences, payments, refunds, webhooks, preapprovals. Low conceptual lock-in: the wire format is the real contract, so swapping the client is mechanical. Risks are concrete and manageable: no security patches, stale TLS/HTTP client assumptions (likely Guzzle 6-era), and untested compatibility with PHP 8.2+/Laravel 10+. Proposed plan: (1) integrate against the maintained dx-php client or a thin in-house REST wrapper, (2) use this repo's request/response patterns as integration documentation, (3) isolate all payment logic behind an internal PaymentGateway interface so provider or SDK changes never touch product code. Cost estimate: ~1–2 sprint-weeks for a standard checkout flow, plus explicit test coverage for webhook signature validation, idempotency, and currency rounding—these are where payment bugs actually come from.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource