Accept boleto bancário
Turn on boleto bancário through Mercado Pago, see what the buyer receives and understand when the order becomes paid and what to check when the option does not show.
With boleto (Brazil's bank payment slip) active, the buyer chooses Boleto on the payment step, next to card and PIX, and gets the payment line (linha digitável) and a link to the boleto as a PDF. They pay in their banking app, at a lottery outlet or at a bank branch, and the order is confirmed when the bank clears the payment.
The boleto is issued by your Mercado Pago account. The other connectable providers do not issue boletos through Vipter.
Before you start
- A Mercado Pago account opened in Brazil, connected to Vipter with an Access Token and Public Key. The Client ID and Client Secret connection does not issue boletos.
- That connection's webhook registered in Mercado Pago with the Order (Mercado Pago) and Pagamentos (Payments) topics, and the secret signature saved in Vipter.
- Admin or Owner role in the Vipter project.
Where boleto shows
The Boleto tab shows at checkout when all of these hold:
- The purchase is a one-time payment. Subscriptions charge the card only.
- The price is in Brazilian reais.
- The buyer entered a CPF or CNPJ on the details step.
- The store has an active boleto payment flow, pointing to a Mercado Pago connection that issues boletos.
- Boleto is enabled for the store on the payment platform. See step 4.
A quick link and the Studio's Payment methods field limit the checkout's methods. On a quick link, boleto only shows if it is ticked in Payment methods. In the Studio, it shows with boleto ticked or with no method ticked.
With card, PIX and boleto active, the buyer sees the three options side by side on the payment step.
Step 1: connect Mercado Pago with an Access Token
- Follow Connect Mercado Pago up to step 2.
- In Account country, choose Brazil.
- In Authentication method, choose Dashboard token and paste the Access Token and the Public Key.
If your Mercado Pago account is already connected with OAuth (application), create a new connection with Dashboard token. The authentication method does not change on an existing connection.
Step 2: register the webhook with both topics
Mercado Pago tells Vipter that the boleto was paid through the webhook. Without it, the order stays pending forever, even after the buyer pays.
- In PaymentsProvidersMercado Pago, open the connection card and copy the Webhook URL.
- In Mercado Pago Developers, open Suas integrações (Your integrations), go into the same application as the credentials and go to WebhooksConfigurar notificações (Webhooks › Configure notifications).
- Choose the Modo produtivo (Production mode) tab and paste the URL.
- Under events, tick Order (Mercado Pago) and Pagamentos (Payments). Boleto depends on both.
- Save, reveal the secret signature and copy the value.
- Back in Vipter, paste the signature on the connection card and click Save secret.
The card now shows Verification secret configured.. The same webhook confirms PIX, so a connection that already received PIX only needs the Order (Mercado Pago) topic added.
Step 3: create the boleto flow
- Open PaymentsRouting and choose the Boleto tab.
- If the tab already has an active flow, check that it points to the connection from step 1. When you create a Brazil Mercado Pago connection with an Access Token, Vipter creates a boleto flow pointing to it if the store does not have one yet.
- If it does not, click Create flow, choose the connection from step 1 in Default connector, leave Activate now on and click Create.
On the Boleto tab, the account list shows only Mercado Pago connections in Brazil created with an Access Token. For more on rules and fallbacks, see Payment routing.
Step 4: check it at checkout
- Open the payment link of a one-time offer priced in reais.
- Fill in the details with a valid CPF or CNPJ and go on to payment.
- Check that the Boleto tab shows next to card and PIX.
Boleto also has to be enabled for your store on the payment platform. If steps 1 to 3 are done and the tab still does not show, contact Vipter support to enable it.
It worked if
The Boleto tab shows at checkout and, after generating a boleto, the order appears in SalesOrders with the Boleto method and the Pending status.
What the buyer sees
- On the payment step, the buyer chooses Boleto. The checkout shows which document the boleto will be issued for, the CPF or CNPJ entered on the details step.
- The boleto needs the payer's full address: street, number, complement (optional), district (bairro), city, state (UF) and CEP.
- If the details step already asked for a Brazilian address with all of that, the checkout shows the address in one line, with a link to change it.
- If it did not, or if something is missing, such as the district, the tab itself asks for the address. Typing the CEP fills in the street, district, city and state.
- They click to generate the boleto.
- The checkout shows the payment line split into groups, a button to copy it, the due date and a button to open the boleto as a PDF.
If the store sends e-mails to buyers, the buyer also gets the Boleto awaiting payment e-mail, with the payment line, the boleto link and the due date. That way they can pay after closing the page. E-mails live in GeneralSettingsE-mails.
Due date and confirmation
- The boleto is due in 3 days. A due date that would fall on a Saturday or Sunday moves to the next business day.
- Confirmation arrives when the bank clears the payment, within 3 business days after the buyer pays.
- Until then, the order stays Pending in SalesOrders, and the order detail shows the attempt as Boleto issued. It moves to Paid when Mercado Pago confirms the payment.
- The boleto stays payable until the due date, plus the bank's clearing window. After that, the boleto can no longer be paid, and the buyer can go back to the checkout and generate another one.
Once the order is paid, the same happens as with a card sale: confirmation e-mail, download links, member area access, purchase events for pixels and integrations.
In automations, Vipter sends the Boleto issued event as soon as the boleto is issued, just as it does with PIX generated. Use it to remind the buyer to pay before the due date.
Common problems
-
The Boleto tab does not show at checkout
Check, in this order: the offer is a one-time payment in reais; the buyer entered a CPF or CNPJ; if the checkout comes from a quick link or has methods ticked in the Studio, boleto is among them; there is an active boleto flow in PaymentsRouting, pointing to a Brazil connection with an Access Token. If all of that is right, boleto has not been enabled for the store yet: contact Vipter support.
-
The buyer sees "Boleto is not available at this store right now. Choose another payment method."
The store has no active boleto flow, the flow's connection does not issue boletos, or boleto has not been enabled for the store yet. Go through steps 1 to 4 again.
-
The buyer sees "Some payer details are missing to issue the boleto. Check your name, document and address."
Some payer detail was refused. The buyer checks the name, the document and the address, especially the district and the CEP, and generates it again.
-
The buyer sees "A boleto needs a CPF or CNPJ. Add it to your details and try again."
The document was not entered on the details step. The buyer goes back to the details, enters the CPF or CNPJ and generates it again.
-
The buyer paid, but the order is still pending
Clearing takes up to 3 business days. If it has been longer, the webhook is not registered in production mode, one of the Order (Mercado Pago) or Pagamentos (Payments) topics is missing, or the secret signature is wrong. Redo step 2.
What to do next
- Also turn on PIX, which confirms right away.
- See payment routing to decide which account charges each method.