Skip to main content

MercadoPago

This page provides an overview of the payments methods provided by the MercadoPago adapter in the IXOPAY platform. It also includes a full list of all configuration options available to you when integrating MercadoPago within your payments landscape, as well as an overview of the parameters required when submitting a transaction via IXOPAY's API.

Payment Methods

Payment MethodTransaction FlowsTransaction Types
CreditcardHPP & payment.js integrationRegister, Debit, Preauthorize, Capture, Void, Refund, Recurring

Additional Parameters

KeyValueTypeDescription
extraData.entity_typestring one of [ individual, association ]Register, Debit, PreauthorizeThe entity Type of the payer (if not registered)
extraData.payer_idstringRegister, Debit, PreauthorizeIdentification of the associated payer
extraData.payer_typestring on of [customer, registered, guest]Register, Debit, Preauthorizecustomer: Payer is a Customer and belongs to the collector.
registered: The account corresponds to a Mercado Pago registered user.
guest: The payer doesn't have an account.
extraData.ident_typestringRegister, Debit, PreauthorizeIdentification type
extraData.ident_numberstringRegister, Debit, PreauthorizeIdentification number

Device Data

When redirecting the user to a Payment Template - Hosted Payment Page (HPP), it's possible to collect their DeviceID and include it as a X-meli-session-id headers of the payment creation, refer to MercadoPago Documentation. Include the following script in the Hosted Payment Page (HPP):

  <script src="https://www.mercadopago.com/v2/security.js" view="checkout" output="deviceId"></script>

Then pass it in a new input field that has the name attribute name="deviceData" and the id must equal the output of the script:

<input type="hidden" id="deviceId" name="deviceData">