MobiariDocs

Mercado Pago

Connect Mercado Pago to accept Pix and cards in your online store.

Your online store accepts Pix and credit cards through Mercado Pago, right in the checkout, without sending the customer to another site. The money goes straight into your Mercado Pago account, with Mercado Pago's fees. Mercado Pago can also issue boleto, when you switch it on. Mobiari's plan has no per-order fee; a sales fee only exists if you agreed one with Mobiari (see Plans and billing).

You will need a Mercado Pago account, ideally your company's account, since that is where the money lands.

Where to set it up

In the dashboard, open Settings → Payments and freight and, under Pagamentos (Payments), click the Mercado Pago card.

If your account shows a Connect with Mercado Pago button, use it: you sign in to Mercado Pago, authorize Mobiari and you are done, with no credentials to copy. The dashboard then shows that it is connected to your Mercado Pago account, and the authorization renews itself. To switch accounts, use Connect again. If the button does not appear, follow the steps below.

1. Create your credentials

  1. Go to mercadopago.com.br/developers and sign in with the account that will receive payments.
  2. Open Suas integrações (Your integrations) and click Criar aplicação (Create application). Give it a name (your store's name, for example) and choose the online payments option.
  3. In the new application, open Credenciais de produção (Production credentials). If Mercado Pago asks, enter your industry and store website to activate them.
  4. Copy the Access Token (it starts with APP_USR-) and the Public Key.

Keep the Access Token safe

The Access Token gives access to your Mercado Pago account. Paste it only into Mobiari and never send it by email or WhatsApp. If it leaks, generate a new one in Mercado Pago and update it in the dashboard.

2. Paste them into Mobiari

On the Mercado Pago card, fill in:

  • Access Token: required.
  • Public Key: used in the checkout to protect card data.
  • Statement description (Descrição na fatura): the name shown on the customer's card statement. Keep it short and recognizable, like your store's name. Customers who don't recognize a charge open more disputes.
  • Webhook secret: optional (see below).

Click Salvar (Save). From then on the checkout shows Pix and card. Once saved, the Test connection button checks the credentials. The Ativo (Active) switch controls whether Mercado Pago is offered at checkout; Padrão (Default) is used when more than one provider is active. The card also shows a callback URL, but you do not need to register it at Mercado Pago (see below).

Integration screens stay in Portuguese

The labels on this screen (Pagamentos, Access Token, Salvar...) are shown in Portuguese even when the dashboard is in English.

Notifications (webhook)

You don't need to set up webhooks in Mercado Pago. Mobiari provides its notification address with every payment it creates, confirms each payment by asking Mercado Pago directly and, every few minutes, checks pending payments again. A paid Pix becomes a paid order even if the notification gets lost.

The Webhook secret field is optional. If you have already set up notifications in your Mercado Pago application and want to fill it in, signed notifications are checked against it as well.

Testing before you sell

The credentials decide whether a payment is a test. With your Mercado Pago application's test credentials (the Access Token starts with TEST-), payments are simulated and no money moves.

When you are done, switch to the production credentials (APP_USR-): with them, payments are real.

Installments

On card, customers pay in installments following your store's rule, in Settings → Store settings → Orders and deadlines → Installments: the most installments (1 to 12) and the smallest installment amount. A new store starts with up to 3 installments of at least R$ 50. Smaller orders get fewer installments: with a R$ 50 minimum, a R$ 120 order goes up to 2.

Under Installment interest you choose what happens past the interest-free installments:

  • All installments interest-free: up to the most installments, the customer pays the same total in any number of installments, and Mercado Pago charges its fee to the store.
  • Store interest (monthly rate): interest-free up to Interest-free installments; past them, your monthly rate by the Price table. Example: R$ 1,000.00 in 12x at 1.99% a month is 12x of R$ 94.50 (total R$ 1,134.00). The card is charged the interest, and the order shows it apart from the goods. Counts your Mercado Pago account already charges the customer interest for are not offered, so interest is never charged twice.
  • Mercado Pago interest, paid by the customer: past the interest-free installments, the customer pays Mercado Pago's interest, which checkout shows once the card's first 6 digits are typed. The order records the interest Mercado Pago charged.

The product page shows the interest-free installments and, when there are any, the most installments with interest and a table of every option with its total. Checkout lists each option with its total, for example "12x de R$ 10,99 (total R$ 131,88)".

Installment interest stays out of the invoice: the NF-e's items, freight and total are the sale's. The interest is a financing charge, not part of the price of the goods.

Saved cards

With Settings → Store settings → Orders and deadlines → Saved cards → Offer to save the card on, a customer with an account can tick Salvar este cartão para as próximas compras at checkout. Next time, they pick the card under Seus cartões salvos and type only the CVV, which Mercado Pago asks for every time.

The store keeps only the card's reference at Mercado Pago, the brand, the last 4 digits and the expiry, never the number or the CVV. The customer removes a card in Meus dados, which removes it from Mercado Pago too. Cards are in the customer's data export and are deleted when you erase their data.

Refunds

To return the money of an order paid through Mercado Pago, open the order in Sell → Orders and click Refund. In the Give money back panel, the Amount starts as what is left on the payment, and you can type a smaller one for a partial refund; the Reason is optional. Confirm with Refund. When everything is returned the order becomes Refunded. The option only shows for people with the refund permission. If the order also has an amount received outside the platform, the panel asks how to give it back: Through the payment refunds through Mercado Pago, and Returned by hand only records what the store gave back on its own.

Common problems

  • The checkout doesn't show the card option. Check that the Public Key is filled in and belongs to the same application as the Access Token.
  • Payments declined in production. Check that the credentials are production ones (APP_USR-), not test ones (TEST-).
  • A paid Pix still shows as pending. Wait a few minutes: Mobiari checks pending payments on its own. If it persists, write to contato@mobiari.com with the order number.

After payment, the next step is usually shipping and, if your company issues them, invoices (NF-e).

On this page