- Home
- Apps
- SaaS Tools
- Mercado Pago Gateway for ERPNext
Illustrative previewA 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
Built to order, done for you
No DIY setup — a working app, built, installed and supported by ECOSIRE.
- 1
You order
Start with a one-time build price. We scope it with you at kickoff.
- 2
We build & install
ECOSIRE builds, configures and installs it on your ERPNext.
- 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
| Criterion | ECOSIRE | Custom Build | Competitor | ERPNext Native |
|---|---|---|---|---|
| Mercado Pago rails (Pix, boleto, cuotas) | First-class support for Pix, boleto, cash vouchers and installments out of the box | Possible but you build and test every rail yourself | Often card-only or a single country; installments patchy | No native Mercado Pago or LATAM rail concept at all |
| Reconciliation to Payment Entry | Automatic Payment Entry creation, allocation and Paid status via doc events | Whatever you code; easy to get allocation wrong | Basic mark-as-paid; allocation logic often shallow | Manual invoice matching in spreadsheets |
| Webhook (IPN) security | `x-signature` HMAC verification plus authoritative API re-fetch before writing | Depends entirely on developer diligence | Signature checks vary; some trust the payload | No Mercado Pago webhook handling |
| Async states (Pix/boleto clearing) | Scheduler job polls and reconciles late clearings automatically | You must build and maintain the polling job | Frequently ignores delayed clearing | Not handled |
| Source ownership & handover | Full source plus git repo handover — you own it | You own it but carry all build cost and risk | Usually closed licensed binary, no repo | N/A |
| Version fit (v15/v16) | Built to your exact version, survives `bench update` | Depends on your team's bench discipline | Lags ERPNext releases; may break on upgrade | Core only, no gateway |
| Delivery & support model | one working week build-to-order plus post-go-live support window | Timeline unbounded; support is on you | Instant install but self-service support | Immediate but does the job manually |
| Fit to your workflow | Scoped to your checkout entry points, roles and installment rules | Fully bespoke at full cost | Generic; you adapt to its assumptions | Generic 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.
Related Modules

Marketing Automation Workflow Builder for ERPNext
A visual, drag-and-drop marketing automation engine built natively into ERPNext that orchestrates email, SMS and WhatsApp journeys from CRM behavior and time-based triggers. ECOSIRE builds, installs and supports it as a proper Frappe app on your own instance.

Mautic Marketing Automation Connector for ERPNext
A build-to-order Frappe app that keeps ERPNext CRM and Mautic in lock-step — two-way contact and lead sync, segment and tag mapping, event-triggered campaigns, and engagement data flowing back to your ERPNext records. ECOSIRE scopes, builds, installs and supports it on your Frappe/ERPNext v15/v16 site.

Meta Lead Ads Integration for ERPNext
A build-to-order ERPNext app that captures Facebook and Instagram Lead Ads into your CRM the moment a form is submitted, with configurable field mapping, campaign attribution, and auto-assignment. ECOSIRE builds, installs, and supports it for your ERPNext v15/v16 site.

Mexico CFDI E-Invoicing (FacturAPI) for ERPNext
A build-to-order ERPNext app that stamps SAT-compliant CFDI 4.0 invoices through FacturAPI/PAC, validates the SAT catalogs, and handles complemento de pago and cancellation flows end to end. ECOSIRE builds, installs, and supports it after a scoping call.
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