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 Method | Transaction Flows | Transaction Types |
---|---|---|
Creditcard | HPP & payment.js integration | Register, Debit, Preauthorize, Capture, Void, Refund, Recurring |
Additional Parameters
Key | Value | Type | Description |
---|---|---|---|
extraData.entity_type | string one of [ individual , association ] | Register, Debit, Preauthorize | The entity Type of the payer (if not registered) |
extraData.payer_id | string | Register, Debit, Preauthorize | Identification of the associated payer |
extraData.payer_type | string on of [customer , registered , guest ] | Register, Debit, Preauthorize | customer : 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_type | string | Register, Debit, Preauthorize | Identification type |
extraData.ident_number | string | Register, Debit, Preauthorize | Identification 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">