Skip to main content
Once the integration is connected, the Mercado Pago node is available in Canvas and lets you create embedded WebView checkout experiences within the conversational flow.
First time implementing a payment? Start with the Tutorial: your first payment.If you have not installed the integration yet, begin with Connect in Brain Studio.

Add the node to Canvas

1

Open your flow in Canvas

In Brain Studio, open the flow where you want to add Mercado Pago payments.
2

Add the Mercado Pago node

Add Mercado Pago from the Canvas toolbar, under the Payments node, or from available payment providers once the integration is installed.The exact entry point may vary depending on whether you started installation from Marketplace, Jelou Agent, the Payments node in Canvas, or a template.
3

Connect the node at the payment step

Connect the Mercado Pago node after the flow already has the amount, buyer data, and purchase confirmation.
4

Open the configuration panel

Select the node to open the right-side panel. Complete the Payment data and Advanced tabs, and review the available outputs on the Canvas node.If required fields are missing, the node shows Incomplete configuration. Check the node fields. and the environment badge (Development or Production).

Configure the node

Mercado Pago node in Canvas with the Payment data tab open in the side panel

Payment data tab: personalization, amounts, and buyer email

boolean
default:"false"
Turn it on to define the messages that accompany your payment button.When enabled, it shows the Header, Body, and Footer fields.
Example message with customized text and Mercado Pago payment button in WhatsApp

Example of a customized payment button message in WhatsApp

string
Title of the payment button message.Shown when Personalization is enabled.
string
Main text of the payment button message.Shown when Personalization is enabled.
string
required
Descriptive text for the charge. Examples: order number, product, service, or internal reference.
number
required
Amount subject to VAT or other configured tax. Numbers only.
number
required
Tax-exempt amount. Numbers only. If it does not apply, use 0.
string
required
Email the buyer will use at checkout.In Development, it must be a Mercado Pago test user email for the corresponding country.In Production, use the buyer’s real email captured in the flow.
If the integration is in Development, copy one of these test emails into Buyer email. It must be from the same country as your test credentials.

Node outputs

Outputs appear on the Mercado Pago node in Canvas. Connect them according to the result you want to handle in your flow.
Triggers when Mercado Pago confirms the transaction was approved.Recommendations:
  • confirm the order
  • send a receipt or notification
  • update purchase status in your systems
Triggers when the transaction is in process or requires later confirmation.Recommendations:
  • inform the user clearly
  • avoid creating a second charge while the status is being resolved
  • wait for a webhook update or later query when applicable
Triggers when the message with the payment button is sent successfully in the conversation.This output does not confirm payment. It only indicates that the message with the payment button was sent successfully in the conversation.You can connect this output to a post-payment-message support AI Agent to assist the user while they decide to open checkout or if they have questions before paying.Recommendations:
  • answer questions about how to open the payment button
  • help if the WebView does not load or the user does not understand the step
  • avoid creating a new charge without context
  • do not confirm payments from this output
Example prompt (reference):
Triggers when the transaction was rejected, declined, denied, or not completed.Recommendations:
  • allow a controlled retry
  • offer a support path or an alternative route
Triggers on technical errors, provider errors, or communication failures during payment creation or processing.Recommendations:
  • log the error
  • show a contingency message
  • retry in a controlled way and escalate if it persists

Test payments

If Mercado Pago is connected with test credentials, checkout must be completed with a Mercado Pago test user.
In test mode, payment is fictitious and does not move real money. The Development environment in the node corresponds to Mercado Pago test credentials.
1

Confirm test credentials

Verify that Mercado Pago is installed with a Test credentials Access Token.
2

Configure the node in test environment

In the Advanced tab, verify the environment is Development.
3

Use a test user email

In Buyer email, use a test user from the same country as the connected credentials.The full list by country is in the first payment tutorial.
4

Test from WhatsApp

Trigger the flow from WhatsApp, open the Mercado Pago WebView checkout, and complete payment with the test cards by country for the corresponding country.
5

Validate flow output

Verify which output the flow continues through:
  • Payment message sent (button send only)
  • Successful payment
  • Pending payment
  • Failed payment
  • Error

Go to production

If you installed Mercado Pago with test credentials, you can start going to production from the Advanced tab of the Mercado Pago node in Canvas or from the Mercado Pago page in Marketplace. In both cases, the same modal opens to enter the production Access Token and confirm the configuration. Before operating with real payments:
  • Make sure you have a Production credentials Access Token in Mercado Pago.
  • Use the Go to production flow described in Connect in Brain Studio.
  • Confirm that Currency and VAT percentage in the node match the production configuration.
  • Replace any test data in the node with real flow data.
  • In production, use the buyer’s real email.
  • Run a low-amount real test before scaling.

Important considerations

If you installed Mercado Pago with test credentials, use test users and test emails. If you installed with production credentials, use the buyer’s real data.
In testing, Buyer email must belong to a Mercado Pago test user for the corresponding country.If you use a real email in Development, checkout may fail or not continue through the expected output.
The node’s Currency and VAT percentage must match what was set when installing the integration and the country of your Mercado Pago credentials.
In pending or failed scenarios, inform the user clearly before starting a new charge attempt. Keep retries controlled.
Some Mercado Pago payment methods may remain pending before settlement. Your flow must handle Pending payment without assuming the charge is already confirmed.
For checkout to open inside WhatsApp, the account must be a verified WhatsApp Business account. If it is not verified, checkout will open in the device’s external browser. See the warning in Connect in Brain Studio.

Next step

Coverage and pricing

Review availability by country, payment methods, and Mercado Pago reference fees.