From mp-developer
Online checkout integration patterns for Mercado Pago. Covers Checkout Pro, Checkout Bricks, Payments API, 3D Secure, and Cross-Border Payments. Use when implementing any web-based payment flow.
npx claudepluginhub mercadopago/mercadopago-claude-marketplace --plugin mp-developerThis skill uses the workspace's default tool permissions.
Online checkout integration intelligence for Mercado Pago. This skill contains stable integration patterns, decision trees, and flow descriptions. For dynamic data (current SDK code, payload schemas, test cards), consult the MCP server or fetch docs.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Dynamically discovers and combines enabled skills into cohesive, unexpected delightful experiences like interactive HTML or themed artifacts. Activates on 'surprise me', inspiration, or boredom cues.
Generates images from structured JSON prompts via Python script execution. Supports reference images and aspect ratios for characters, scenes, products, visuals.
Online checkout integration intelligence for Mercado Pago. This skill contains stable integration patterns, decision trees, and flow descriptions. For dynamic data (current SDK code, payload schemas, test cards), consult the MCP server or fetch docs.
Use when the conversation mentions: preference, init_point, back_urls, Checkout Pro, Bricks, Payment Brick, payment.create, card tokenization, 3DS, cross-border.
Do NOT use for: QR/Point (use mp-instore), subscriptions (use mp-subscriptions), marketplace splits (use mp-marketplace).
Developer needs to accept online payments
|
+-- Wants fastest integration, OK with redirect?
| +-- YES --> Checkout Pro
| +-- Create preference --> redirect to init_point
|
+-- Wants embedded UI within their page?
| +-- YES --> Checkout Bricks
| +-- Need full payment form? --> Payment Brick
| +-- Need only card form? --> Card Payment Brick
| +-- Need payment status display? --> Status Screen Brick
|
+-- Wants full control over payment flow?
| +-- YES --> Payments API
| +-- Tokenize card client-side --> create payment server-side
|
+-- Needs 3DS authentication?
+-- Add 3DS to any of the above flows
init_point.Key fields for preference: items[].title, items[].unit_price, items[].quantity (required). back_urls, auto_return, notification_url, statement_descriptor, external_reference (recommended).
Gotcha: currency_id must match the country. ARS for Argentina, BRL for Brazil, etc. See agent country detection.
Gotcha: The Brick's onSubmit sends formData including a token for card payments. Use this token server-side.
Gotcha: Always include requestOptions.idempotencyKey when creating payments.
cardForm or createCardTokenGotcha: Card tokens are single-use and expire in 7 days.
Gotcha: issuer_id is required for some payment methods.
binary_mode: false, otherwise the payment won't be able to show the challenge or pending status.{DOMAIN}/developers/{LANG}/docs/checkout-api/3ds| Status | Status Detail | Meaning |
|---|---|---|
| approved | accredited | Payment approved and credited |
| in_process | pending_contingency | Under review |
| in_process | pending_review_manual | Manual review |
| rejected | cc_rejected_bad_filled_card_number | Wrong card number |
| rejected | cc_rejected_bad_filled_date | Wrong expiration |
| rejected | cc_rejected_bad_filled_security_code | Wrong CVV |
| rejected | cc_rejected_high_risk | Fraud risk |
| rejected | cc_rejected_insufficient_amount | Insufficient funds |
| rejected | cc_rejected_max_attempts | Too many attempts |
| pending | pending_waiting_payment | Awaiting offline payment |
mercadopago, Python: mercadopago, etc.)All 7 countries: Argentina, Brazil, Mexico, Chile, Colombia, Peru, Uruguay.
CBP: Requires specific country-pair approval.
init_point for Checkout ProAPP_USR-*) of a test user — Mercado Pago no longer uses TEST- sandbox credentialscreate_test_useradd_money_test_user{DOMAIN}/developers/{LANG}/docs/your-integrations/test/cardsWhen helping a developer, use the Mercado Pago MCP server (mercadopago) to get:
If MCP is unavailable:
{DOMAIN}/developers/{LANG}/docs/checkout-pro/landing -- Checkout Pro guide{DOMAIN}/developers/{LANG}/docs/checkout-bricks/landing -- Bricks guide{DOMAIN}/developers/{LANG}/docs/checkout-api/landing -- Payments API guide{DOMAIN}/developers/{LANG}/docs/checkout-api/3ds -- 3DS guide{DOMAIN}/developers/{LANG}/docs/your-integrations/test/cards -- Test cards