Skip to main content
Mercado Pago Gateway for ERPNext — A build-to-order Mercado Pago payment gateway for ERPNext that brings Pix, boleto, card in — 1/1Illustrative preview

A build-to-order Mercado Pago payment gateway for ERPNext that brings Pix,

boleto, card installments (cuotas), Checkout Pro/Bricks and webhook reconciliation into your ERPNext instance.

ECOSIRE builds, installs, and supports it after a scoping call — not an instant marketplace download.

What is Mercado Pago Gateway for ERPNext?

A build-to-order Mercado Pago payment gateway for ERPNext that brings Pix, boleto, card installments (cuotas), Checkout Pro/Bricks and webhook reconciliation into your ERPNext instance. ECOSIRE builds, installs, and supports it after a scoping call — not an instant marketplace download. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $999.00 USD; request a quote for a scoped proposal.

Key Features

`Mercado Pago Settings` single DocType holding access token, public key, integrator ID, sandbox/production toggle and country site (MLB Brazil / MLA Argentina / MLM Mexico), with tokens stored in Frappe's encrypted `password` fieldtype
Pix payments with dynamically generated QR code and copy-paste code rendered on the ERPNext invoice/checkout page, plus expiry handling
Boleto bancario and cash voucher (Rapipago/Pago Fácil/OXXO) generation with due-date tracking and async clearing reconciliation
Card payments with configurable installment plans (cuotas/parcelas), including interest-free (sem juros) tiers you define per amount range
Checkout Pro hosted checkout via server-created `preference` objects, plus embedded Bricks (Payment/Card Brick) for on-site card capture using the public key and tokenized cards
Whitelisted Frappe REST webhook endpoint (`@frappe.whitelist(allow_guest=True)`) for Mercado Pago IPN with `x-signature` HMAC verification to reject forged notifications
Authoritative status re-fetch: the webhook always re-queries the Mercado Pago API by `payment_id` before writing, so a spoofed payload can never mark an invoice paid
Automatic Payment Entry creation and submission via `hooks.py` doc events on approval, allocated against the correct Sales Invoice and reference `payment_id`
`Mercado Pago Transaction` DocType logging every preference, payment, status transition, payer detail and payout for full audit trail against accounting documents
`scheduler_events` background job that polls pending Pix/boleto/in-review transactions and reconciles late clearings without manual intervention
Subscriptions and preapproval support for recurring billing, mapped to ERPNext Subscription / recurring invoices
Refund and chargeback handling that reverses or cancels the matching Payment Entry and updates transaction state
Role-based permissions and role profiles restricting credential edits and manual re-sync/refund actions to Accounts Manager
Client script on the Sales Invoice form adding a 'Pay with Mercado Pago' action and a live payment-status indicator
Multi-currency and multi-site awareness (BRL/ARS/MXN) with amount and installment rounding aligned to Mercado Pago rules
Compatibility with ERPNext/Frappe v15 and v16, delivered as a standalone installable app that survives `bench update`

Built to order, done for you

No DIY setup — a working app, built, installed and supported by ECOSIRE.

  1. 1

    You order

    Start with a one-time build price. We scope it with you at kickoff.

  2. 2

    We build & install

    ECOSIRE builds, configures and installs it on your ERPNext.

  3. 3

    Go live + support

    You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

Technical Specifications

ERPNext Compatibility
—
License
Licence confirmation required
Python Requirement
Python 3.10+
Database
MariaDB 10.6+

About this Product

Latin American merchants running ERPNext hit a wall the moment they try to collect money the way their customers actually pay. ERPNext core ships generic payment gateway integrations (PayPal, Stripe, Razorpay, and a handful of others), but it has no native concept of Pix, boleto bancario, cash vouchers, or card installments (cuotas/parcelas) — the payment rails that dominate Brazil, Argentina, and Mexico. So teams end up reconciling Mercado Pago payouts by hand in spreadsheets, chasing unmatched boletos, and manually flipping Sales Invoices to Paid days after the money actually cleared. That manual gap is where cash-flow visibility and reconciliation accuracy quietly break down.

ECOSIRE builds a proper Frappe app — installed into your own ERPNext bench as an app you own — that makes Mercado Pago a first-class payment method inside ERPNext. It ships a Mercado Pago Settings single DocType for credentials (access token, public key, sandbox/production toggle, country site MLB/MLA/MLM) with secrets stored via Frappe's encrypted password fieldtype, and a Mercado Pago Transaction DocType that records every preference, payment, payment_id, status, and payout so each transaction is auditable against its Sales Invoice or Payment Entry. Customers pay through Checkout Pro (hosted) or embedded Bricks, choosing Pix, boleto, cash voucher, or card with the installment plans you allow. On approval, hooks.py doc events and server-side logic create and submit the matching Payment Entry, allocate it against the invoice, and move the document to Paid — no manual touch.

The engine of the integration is the Mercado Pago webhook (IPN). We expose a whitelisted Frappe REST endpoint (@frappe.whitelist(allow_guest=True)) that receives payment notifications, verifies the x-signature HMAC to reject forged calls, then re-fetches the authoritative payment status from the Mercado Pago API before writing anything — so a spoofed "approved" ping can never mark an invoice paid. Asynchronous states (Pix awaiting scan, boleto awaiting bank clearing, in-review card payments) are handled by a scheduler_events background job that polls pending transactions and reconciles late clearings, plus refund and chargeback handling that reverses the Payment Entry. Role profiles and permission rules keep credential access and manual re-sync actions restricted to Accounts Manager, while client scripts surface a "Pay with Mercado Pago" action and live status on the invoice form.

Because this is build-to-order, nothing is a black box you download blind. We start with a scoping call to confirm your Mercado Pago country/site, the payment methods and installment rules you need, your ERPNext version (v15 or v16), and whether checkout is triggered from ERPNext web forms, the POS, or an external storefront hitting the REST API. We then build against a staging copy of your instance, run UAT with you using Mercado Pago sandbox credentials, and cut over to production with a rollback plan. Typical delivery is one working week from confirmed scope. You receive the full source, a git repository handover, technical and user documentation, a training session, and a post-go-live support window — and you own the code outright.

What you get

  • Installable Frappe app source code for your ERPNext version (v15 or v16), built to survive `bench update`
  • Installation and configuration on your instance, including Mercado Pago Settings credential setup and webhook registration
  • Technical documentation covering DocTypes, hooks, whitelisted endpoints, scheduler jobs and the webhook signature-verification flow
  • End-user guide plus a live training session for your accounts and operations team
  • UAT on a staging environment using Mercado Pago sandbox credentials, with a documented production cutover and rollback plan
  • Post-go-live support window for defect fixes and configuration adjustments
  • Git repository handover with full commit history so you own and can extend the code
  • Configuration of installment rules, payment methods and role permissions to match your agreed scope

Who this is for

Brazilian ERPNext e-commerce merchant

Runs online retail on ERPNext and needs Pix and boleto as primary rails plus interest-free card installments, with invoices auto-reconciled the moment payments clear rather than chased by hand.

Argentine/Mexican multi-channel retailer

Sells across web and physical POS in ARS or MXN and needs cuotas, cash vouchers (Rapipago/Pago Fácil/OXXO) and a single source of truth in ERPNext for every Mercado Pago payout.

Finance / accounts manager

Owns month-end close and cash-flow reporting; needs every Mercado Pago transaction tied to a Payment Entry and Sales Invoice, with refunds and chargebacks reflected automatically and credential access locked down by role.

ERP consultant or systems integrator

Implements ERPNext for LATAM clients and wants a maintained, source-available Mercado Pago app with clean DocTypes and hooks they can hand over and extend, instead of a fragile in-house script.

How Mercado Pago Gateway for ERPNext Compares

CriterionECOSIRECustom BuildCompetitorERPNext Native
Mercado Pago rails (Pix, boleto, cuotas)First-class support for Pix, boleto, cash vouchers and installments out of the boxPossible but you build and test every rail yourselfOften card-only or a single country; installments patchyNo native Mercado Pago or LATAM rail concept at all
Reconciliation to Payment EntryAutomatic Payment Entry creation, allocation and Paid status via doc eventsWhatever you code; easy to get allocation wrongBasic mark-as-paid; allocation logic often shallowManual invoice matching in spreadsheets
Webhook (IPN) security`x-signature` HMAC verification plus authoritative API re-fetch before writingDepends entirely on developer diligenceSignature checks vary; some trust the payloadNo Mercado Pago webhook handling
Async states (Pix/boleto clearing)Scheduler job polls and reconciles late clearings automaticallyYou must build and maintain the polling jobFrequently ignores delayed clearingNot handled
Source ownership & handoverFull source plus git repo handover — you own itYou own it but carry all build cost and riskUsually closed licensed binary, no repoN/A
Version fit (v15/v16)Built to your exact version, survives `bench update`Depends on your team's bench disciplineLags ERPNext releases; may break on upgradeCore only, no gateway
Delivery & support modelone working week build-to-order plus post-go-live support windowTimeline unbounded; support is on youInstant install but self-service supportImmediate but does the job manually
Fit to your workflowScoped to your checkout entry points, roles and installment rulesFully bespoke at full costGeneric; you adapt to its assumptionsGeneric gateway framework, no LATAM fit

Frequently Asked Questions about Mercado Pago Gateway

Is this an instant download from the Frappe marketplace?

No. This is a build-to-order product. ECOSIRE builds the app against your specific ERPNext version, Mercado Pago country/site, and payment-method requirements, then installs and supports it. There is no instant self-service download — you get code tailored to your instance and you own it.

How long does delivery take?

Typical delivery is one working week from confirmed scope. The clock starts once we've agreed on your Mercado Pago site (MLB/MLA/MLM), the payment methods and installment rules, your ERPNext version, and your checkout entry points on a scoping call. Simpler single-country Pix/card scopes land nearer two weeks; multi-country, subscriptions, or custom storefront integrations nearer four.

Which ERPNext and Frappe versions are supported?

We build for Frappe/ERPNext v15 and v16, delivered as a standalone installable app that survives `bench update`. Tell us your exact version and hosting (self-hosted bench, Frappe Cloud, or ECOSIRE-managed) during scoping and we target it precisely.

How are payments reconciled, and how do you prevent fraud?

Mercado Pago sends IPN webhooks to a whitelisted Frappe endpoint. We verify the `x-signature` HMAC to reject forged calls, then re-fetch the authoritative payment status from the Mercado Pago API by `payment_id` before writing anything. On approval, a Payment Entry is created, submitted and allocated to the Sales Invoice automatically. A scheduler job also polls pending Pix/boleto transactions to catch late clearings.

What about updates and support after go-live?

Every build includes a post-go-live support window for defect fixes and configuration tweaks. Because you receive the full git repository, you can extend it yourself or contract ECOSIRE for ongoing maintenance — including Mercado Pago API changes and ERPNext version upgrades — under a support agreement we scope with you.

Can it handle installments, subscriptions, and cash vouchers?

Yes. We support card installments (cuotas/parcelas) with the interest-free tiers you define, Pix, boleto bancario, cash vouchers (Rapipago, Pago Fácil, OXXO depending on country), and subscriptions/preapproval for recurring billing mapped to ERPNext Subscriptions. The exact mix is confirmed during scoping.

Where do checkout and credentials live?

Credentials sit in a `Mercado Pago Settings` DocType with the access token stored in Frappe's encrypted `password` field and access restricted by role. Checkout can be triggered from ERPNext web forms, the POS, or an external storefront calling the Frappe REST API — we wire whichever entry points you use, via Checkout Pro (hosted) or embedded Bricks.

Request a quote

Mercado Pago Gateway

A build-to-order Mercado Pago payment gateway for ERPNext that brings Pix, boleto, card installments (cuotas), Checkout Pro/Bricks and webhook reconciliation into your ERPNext instance. ECOSIRE builds, installs, and supports it after a scoping call — not an instant marketplace download.

  • `Mercado Pago Settings` single DocType holding access token, public key, integrator ID, sandbox/production toggle and country site (MLB Brazil / MLA Argentina / MLM Mexico), with tokens stored in Frappe's encrypted `password` fieldtype
  • Pix payments with dynamically generated QR code and copy-paste code rendered on the ERPNext invoice/checkout page, plus expiry handling
  • Boleto bancario and cash voucher (Rapipago/Pago Fácil/OXXO) generation with due-date tracking and async clearing reconciliation
  • Card payments with configurable installment plans (cuotas/parcelas), including interest-free (sem juros) tiers you define per amount range

Request a Quotation

Tell us about your Mercado Pago Gateway requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.