Prerequisites to get started
Glossary
Have the main technical terms for the Checkout Pro integration flow at hand before checking the prerequisites:
Term | Description |
Preference | It is the information of the product or service that you want to offer. Among the most important attributes of a preference are, namely, the description, the amount, and the items. When generating it, you get the URL to start the payment flow. |
Credentials | Your credentials are the unique keys we provide so you can configure your integrations. There are two types: Public Key and Access Token. Public key is the application's public key to know the payment methods and encrypt card details, for example. You must use it only for your integrations. Access Token is the application's private key to generate payments. You must use it only for your integrations. To find them, access the Credentials section on your Dashboard and select the productive ones. |
Initial Point (init_point) | It is the URL obtained at the time of generating the preference, which starts the payment flow of the Checkout Pro. |
Ítem | It refers to the product or service you want to offer. It can be one or a list. |
Application | The applications are used to process the seller's payments. Each application identifies a particular integration since each one has its credentials. One Mercado Pago account can have multiple applications. You can find the information of each one in the Credentials section on your Dashboard. Upon entering, an application will be created automatically or you can create an application manually every time you need one. |
Prerequisites
Follow the following steps before starting your integration:
1. Access an account
It is necessary to have a Mercado Pago or Mercado Libre account to start your integration.
You can sign in to an existing account or create a new account from scratch.
2. Install the Mercado Pago SDK
Install the official SDK to simplify your interaction with our APIs.
php composer.phar require "mercadopago/dx-php"
To install the SDK you must execute the following code on the command line of your terminal using npm:
npm install mercadopago
To install the SDK in your Maven project you must add the following dependency in your pom.xml
file and then run maven install
on the command line of your terminal:
<dependency>
<groupId>com.mercadopago</groupId>
<artifactId>sdk-java</artifactId>
<version>2.0.0</version>
</dependency>
To install the SDK you must execute the following code on the command line of your terminal using gema:
gem install mercadopago-sdk
To install the SDK you must execute the following code on the command line of your terminal using NuGet:
nuget install mercadopago-sdk
To install the SDK you must execute the following code on the command line of your terminal using pip:
pip3 install mercadopago
3. Have your credentials handy
Your credentials are unique keys we provide so you can configure your integrations.
You can find the information of each one in the Credentials section on your Dashboard.
To install the SDK you must execute the following code on the command line of your terminal using Composer: