1. Home
  2. Docs
  3. Cirilla Payment Gateway Addons
  4. Payment Gateways
  5. Mercado Pago and Pagseguro

Mercado Pago and Pagseguro

MercadoGatewayNative libraryandroid
MercadoGatewayWebWebviewios, android, web

Getting started

 – Create an Mercado account to use Mercado’s services: https://www.mercadopago.com.ar/


 Follow this steps:

Woocommerce website:

Add Mercado plugin to your Woocommerce:

  1. Go to WordPress Admin > Plugins > Add New from the left-hand menu
  2. In the search box type Mercado Pago payments for WooCommerce
  3. Click on Install now when you see Mercado Pago payments for WooCommerce to install the plugin
  4. Config plugin according instructions
  5. Go to Woocommerce -> Setting -> Tab Payments: enable only Mercado Pago – Checkout Pro (don’t enable another method of Mercado)

 Mobile app:

  1. Copy mercado_gateway package and add to packages folder in cirilla project.
  2. Import package in cirilla/pubspec.yaml


  path: ./packages/mercado_gateway

Then run flutter pub get in your project

  1. Add MercadoGateway(native view) or MercadoGatewayWeb(web view) to cirilla/lib/payment_method.dart file ( use only one of them and remember import package like example)


import 'package:mercado_gateway/mercado_gateway.dart';

final Map<String, PaymentBase> methods = {
  MercadoGateway.key: MercadoGateway(
     publicKey: "YOUR_PUBLIC_KEY",
     accessToken: "YOUR_ACCESS_TOKEN"

Note: Get publicKey and accessToken in your mercado profile


import 'package:mercado_gateway/mercado_gateway_web.dart';

final Map<String, PaymentBase> methods = {
 MercadoGatewayWeb.key: MercadoGatewayWeb(),

Available Currencies

CountryAvailable Currencies
Argentina ARS
Brazil BRL
Chile CLP
Colombia COP
Mexico MXN
Peru PEN
Uruguay UYU


Issues( with IOS )

Installing mercado_pago_mobile_checkout
- Running pre install hooks
 [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (MLCardForm)

Fix: https://github.com/Gazer/px-flutter/issues/12#issuecomment-853948677

Was this article helpful to you? Yes No

How can we help?