Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
68537f2
obtain-test-credentials
gabri-elly May 14, 2025
db513fa
1
gabri-elly May 16, 2025
d5190e4
fixes do brief
gabri-elly May 16, 2025
aecaf22
test user naming fix
gabri-elly May 16, 2025
12bad54
Ajuste en traducciones en obtener credenciales de prueba
abderossi May 16, 2025
f704e1c
Agrego cambios de credenciales en configurar ambiente de desarrollo
abderossi May 16, 2025
ea0145d
Agrego ajustes en la documentaciòn agregar el sdk al frontend e inici…
abderossi May 16, 2025
c8900b0
Agrego ajustes en Prueba de integración
abderossi May 16, 2025
9ee928a
Merge branch 'development' of github.com:mercadopago/devsite-docs int…
gabri-elly May 20, 2025
d2dc01d
merge dev into this branch
gabri-elly May 20, 2025
12ed073
reviews rods e mari pt 1
gabri-elly May 20, 2025
8646ebb
fixes review
gabri-elly May 20, 2025
f18a1ea
fixes sugestoes
gabri-elly May 20, 2025
f51be26
Merge branch 'development' of https://github.com/mercadopago/devsite-…
abderossi May 22, 2025
d268d7d
test de credenciales con buenas prácticas
abderossi May 22, 2025
52c6e09
Merge branch 'development' of https://github.com/mercadopago/devsite-…
abderossi May 23, 2025
d91eccc
agrego curl al snippet de código
abderossi May 23, 2025
9ae4631
Actualización snippet test users
abderossi May 23, 2025
ca9e9eb
ajustes por feedbacks
abderossi May 23, 2025
3053432
padronizamos menciones a public key y access token
abderossi May 23, 2025
c8dcb4d
Nuevas recomendaciones de seguridad en Credenciales
abderossi May 23, 2025
8236fa4
Merge branch 'development' of https://github.com/mercadopago/devsite-…
abderossi May 26, 2025
1812405
ajuste en credenciales
abderossi Jun 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions guides/checkout-pro/add-sdk-and-initialize.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,9 @@ To include the MercadoPago.js SDK in your HTML page from a **CDN (Content Delive

## Inicializar el checkout desde la preferencia de pago

Después de incluir el SDK en tu frontend, es momento de inicializarlo y luego iniciar el Checkout.
After including the SDK in your frontend, it's time to initialize it and then start the Checkout.

To continue, you must use your production `public key` credential, which can be accessed in the **Details of your application** in [Your integrations](https://www.mercadopago[FAKER][URL][DOMAIN]/developers/panel/app), under the title **Production > Production credentials** in the menu on the left side of the screen.

> NOTE
>
> Note
>
> If you are developing for someone else, you will be able to access the credentials of applications you do not manage. See [Share credentials](/developers/en/docs/checkout-pro/additional-content/your-integrations/credentials) for more information.
To continue, you will need to use your **production** `public key` credential from the **seller's** :toolTipComponent[test account]{content="Test accounts are users who have the same functionalities as a real Mercado Pago user, but allow you to test the operation of your development without compromising real data." title="Test accounts" }.

You will also need to use the payment preference ID that you obtained as a response in [Create and configure a payment preference](/developers/en/docs/checkout-pro/create-payment-preference).

Expand Down Expand Up @@ -136,7 +130,7 @@ npm install @mercadopago/sdk-react

Open the `src/App.js` file of your React application. Once there, modify the content of the file to integrate the Mercado Pago `wallet` component, which is responsible for displaying the Mercado Pago payment button.

You will need to replace the value `YOUR_PREFERENCE_ID` with the **payment preference identifier** that you obtained as a response in [Create and configure a payment preference](/developers/en/docs/checkout-pro/create-payment-preference).
You will need to replace the value `YOUR_PUBLIC_KEY` with your **production** `public key` credential from the **seller's** :toolTipComponent[test account]{content="Test accounts are users who have the same functionalities as a real Mercado Pago user, but allow you to test the operation of your development without compromising real data." title="Test accounts" }. You will also need to replace the value `YOUR_PREFERENCE_ID` with the **payment preference identifier** that you obtained as a response in [Create and configure a payment preference](/developers/en/docs/checkout-pro/create-payment-preference).

Below, we share an example of how to complete the `src/App.js` file.

Expand Down
11 changes: 3 additions & 8 deletions guides/checkout-pro/add-sdk-and-initialize.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@ Para incluir el SDK MercadoPago.js en tu página HTML desde un **CDN (Content De

Después de incluir el SDK en tu frontend, es momento de inicializarlo y luego iniciar el Checkout.

Para continuar, deberás utilizar tu credencial `public key` de producción, a la que podrás acceder ingresando a los **Detalles de tu aplicación** en [Tus integraciones](https://www.mercadopago[FAKER][URL][DOMAIN]/developers/panel/app), bajo el título **Producción > Credenciales de producción** en el menú ubicado a la izquierda de la pantalla.

> NOTE
>
> Nota
>
> Si estás desarrollando para otra persona, podrás acceder a las credenciales de las aplicaciones que no administras. Consulta [Compartir credenciales](/developers/es/docs/checkout-pro/additional-content/your-integrations/credentials) para más información.
Para continuar, deberás utilizar tu credencial `public key` de **producción**, de la :toolTipComponent[cuenta de prueba]{content="E Las cuentas de prueba son usuarios que tienen las mismas funcionalidades que un usuario real de Mercado Pago, pero permiten probar el funcionamiento de tu desarrollo sin comprometer datos reales." title="Cuentas de prueba" } **de vendedor**.

También necesitarás utilizar el identificador de la preferencia de pago que obtuviste como respuesta en [Crear y configurar una preferencia de pago](/developers/es/docs/checkout-pro/create-payment-preference).

Expand Down Expand Up @@ -136,7 +130,8 @@ npm install @mercadopago/sdk-react

Abre el archivo `src/App.js` de tu aplicación React. Una vez allí, modifica el contenido del archivo para integrar el componente `wallet` de Mercado Pago, que es el encargado de mostrar el botón de pago de Mercado Pago.

Necesitarás reemplazar el valor `YOUR_PREFERENCE_ID` utilizando el **identificador de la preferencia de pago** que obtuviste como respuesta en [Crear y configurar una preferencia de pago](/developers/es/docs/checkout-pro/create-payment-preference).
En el código, necesitarás reemplazar el valor `YOUR_PUBLIC_KEY` por tu credencial `public key` de producción de la :toolTipComponent[cuenta de prueba]{content="E Las cuentas de prueba son usuarios que tienen las mismas funcionalidades que un usuario real de Mercado Pago, pero permiten probar el funcionamiento de tu desarrollo sin comprometer datos reales." title="Cuentas de prueba" } **de vendedor**. También deberás reemplazar el valor `YOUR_PREFERENCE_ID` utilizando
el **identificador de la preferencia de pago** que obtuviste como respuesta en [Crear y configurar una preferencia de pago](/developers/es/docs/checkout-pro/create-payment-preference).

A continuación, te compartimos un ejemplo de cómo completar el archivo `src/App.js`.

Expand Down
14 changes: 3 additions & 11 deletions guides/checkout-pro/add-sdk-and-initialize.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,9 @@ Para incluir o SDK MercadoPago.js na sua página HTML a partir de um **CDN (Cont

Após incluir o SDK no seu frontend, é necessário inicializá-lo e, em seguida, iniciar o Checkout.

Para continuar, utilize sua credencial `public key` de produção, disponível nos detalhes da sua aplicação em [Suas integrações](/developers/panel/app). Para acessá-lo, vá até a seção **Produção** e clique em **Credenciais de produção** no menu à esquerda da tela.
Para continuar, você precisará usar sua credencial `public key` de **produção** da :toolTipComponent[conta de teste]{content="As contas de teste simulam usuários com as mesmas funcionalidades de um usuário real do Mercado Pago. Elas permitem verificar o funcionamento do seu desenvolvimento sem o risco de comprometer dados reais." title="Contas de teste" } **do vendedor**. Você também precisará utilizar o identificador da preferência de pagamento obtido na etapa [Criar e configurar uma preferência de pagamento](/developers/pt/docs/checkout-pro/create-payment-preference).

> NOTE
>
> Nota
>
> Se estiver desenvolvendo para outra pessoa, você poderá acessar as credenciais das aplicações que não administra. Para mais informações, consulte a seção [Compartilhar credenciais](/developers/pt/docs/checkout-pro/additional-content/your-integrations/credentials#bookmark_compartilhar_credenciais).

Agora, será necessário utilizar o identificador da preferência de pagamento obtido na etapa [Criar e configurar uma preferência de pagamento](/developers/pt/docs/checkout-pro/create-payment-preference).

Para inicializar o SDK via CDN, insira o código a seguir dentro da tag `<script>`. Substitua `YOUR_PUBLIC_KEY` pela `public_key` de produção da sua aplicação e `YOUR_PREFERENCE_ID` pelo **identificador da preferência de pagamento**.
Para inicializar o SDK via CDN, insira o código a seguir dentro da tag `<script>`. Substitua `YOUR_PUBLIC_KEY` pela `public_key` e `YOUR_PREFERENCE_ID` pelo **identificador da preferência de pagamento**.

```JavaScript
<!DOCTYPE html>
Expand Down Expand Up @@ -136,7 +128,7 @@ npm install @mercadopago/sdk-react

Abra o arquivo `src/App.js` da sua aplicação React e atualize o conteúdo para integrar o componente `wallet` do Mercado Pago, que é o responsável por mostrar o botão de pagamento do Mercado Pago.

No código, substitua o valor `YOUR_PREFERENCE_ID` pelo **identificador da preferência de pagamento** que você obteve na etapa [Criar e configurar uma preferência de pagamento](/developers/pt/docs/checkout-pro/create-payment-preference).
No código, você precisará substituir o valor YOUR_PUBLIC_KEY pela sua credencial public key de produção da :toolTipComponent[conta de teste]{content="As contas de teste simulam usuários com as mesmas funcionalidades de um usuário real do Mercado Pago. Elas permitem verificar o funcionamento do seu desenvolvimento sem o risco de comprometer dados reais." title="Contas de teste" } **do vendedor**. Você também deverá substituir o valor `YOUR_PREFERENCE_ID` pelo **identificador da preferência de pagamento** que você obteve na etapa [Criar e configurar uma preferência de pagamento](/developers/pt/docs/checkout-pro/create-payment-preference).

A seguir, compartilhamos um exemplo de como completar o arquivo `src/App.js`.

Expand Down
16 changes: 2 additions & 14 deletions guides/checkout-pro/configure-development-environment.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,10 @@ go get -u github.com/mercadopago/sdk-go
>
> Initialize Mercado Pago library

To initialize the Mercado Pago library, you will need to use your **credentials**, which are unique keys used to identify and authenticate your integration in your account. These keys are directly linked to the application you created for that integration and will allow you to develop your project with Mercado Pago's best security measures.
To initialize the Mercado Pago library, you will need to use the credentials you obtained [in the previous step](/developers/en/docs/checkout-pro/obtain-test-credentials).

> NOTE
>
> If you are developing for someone else, you can access the credentials of applications you do not manage. See [Share credentials](/developers/en/docs/checkout-pro/additional-content/your-integrations/credentials#bookmark_share_credentials) for more information.

First, you will need to **activate the production credentials**. To do this, you will need to complete some information about your business by following the steps below.

1. In [Your integrations](/developers/panel/app), select your application. Then, go to the **Production** section and click on **Production Credentials** in the menu on the left side of the screen.
2. In the **Industry** field, select from the drop-down menu the industry to which the business you are integrating belongs.
3. In the **Website (required)** field, fill in the URL of your business's website.
4. Accept the ----[mlb]----[Privacy Statement](https://www.mercadopago.com.br/privacidade) ------------ ----[mla, mlm, mlu, mco, mlc, mpe]----[Privacy Statement](https://www.mercadopago.com/privacidad) ------------ and the [Terms and conditions](/developers/en/docs/resources/legal/terms-and-conditions). Complete the reCAPTCHA and click on **Activate production credentials**.

After activating your production credentials, you will be able to use your **production** `access token`, available in the details of your application in [Your integrations](/developers/panel/app).
Next, in the backend of your project, create a _main_ file based on the programming language you will use. There, place the following code, replacing the value `PROD_ACCESS_TOKEN` with the production `access token` from the seller's test account.

Next, in the backend of your project, create a _main_ file based on the programming language you will use. There, place the following code, replacing the value `PROD_ACCESS_TOKEN` with your production `access token`.

[[[
```php
Expand Down
19 changes: 2 additions & 17 deletions guides/checkout-pro/configure-development-environment.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,24 +75,9 @@ go get -u github.com/mercadopago/sdk-go
>
> h2
>
> Inicializar biblioteca de Mercado Pago
> Inicializar biblioteca de Mercado Pago, deberás utilizar las credenciales que obtuviste [en el paso anterior](/developers/es/docs/checkout-pro/obtain-test-credentials).

Para inicializar la biblioteca de Mercado Pago, deberás utilizar tus **credenciales**, que son claves únicas utilizadas para identificar y autenticar tu integración en tu cuenta. Estas claves están directamente vinculadas a la aplicación que creaste para esa integración, y te permitirán desarrollar tu proyecto contando con las mejores medidas de seguridad de Mercado Pago.

> NOTE
>
> Si estás desarrollando para otra persona, podrás acceder a las credenciales de las aplicaciones que no administras. Consulta [Compartir credenciales](/developers/es/docs/checkout-pro/additional-content/your-integrations/credentials#bookmark_compartir_credenciales) para más información.

Primero, deberás **activar las credenciales de producción**. Para hacerlo, deberás completar algunos datos datos sobre tu negocio siguiendo los pasos a continuación.

1. En [Tus integraciones](/developers/panel/app), selecciona tu aplicación. Luego, dirígete a la sección **Producción** y haz clic en **Credenciales de producción** en el menú a la izquierda de la pantalla.
2. En el campo **Industria**, selecciona del menú desplegable la industria a la que pertenece el negocio que estás integrando.
3. En el campo **Sitio web (obligatorio)**, completa con la URL del sitio web de tu negocio.
4. Acepta la ----[mlb]----[Declaración de Privacidad](https://www.mercadopago.com.br/privacidade) ------------ ----[mla, mlm, mlu, mco, mlc, mpe]----[Declaración de Privacidad](https://www.mercadopago.com/privacidad) ------------ y los [Términos y condiciones](/developers/es/docs/resources/legal/terms-and-conditions). Completa el reCAPTCHA y haz clic en **Activar credenciales de producción**.

Después de activar tus credenciales de producción, podrás utilizar tu `access token` de **producción**, disponible en los detalles de tu aplicación en [Tus integraciones](/developers/panel/app).

A continuación, en el backend de tu proyecto, crea un archivo _main_ en base al lenguaje de programación que usaras. Allí, coloca el siguiente código reemplazando el valor `PROD_ACCESS_TOKEN` con tu `access token` de producción.
A continuación, en el backend de tu proyecto, crea un archivo _main_ en base al lenguaje de programación que usaras. Allí, coloca el siguiente código reemplazando el valor `PROD_ACCESS_TOKEN` con el `access token` de producción de la cuenta de prueba de vendedor.

[[[
```php
Expand Down
19 changes: 2 additions & 17 deletions guides/checkout-pro/configure-development-environment.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,9 @@ go get -u github.com/mercadopago/sdk-go
>
> Inicializar biblioteca do Mercado Pago

Para inicializar a biblioteca do Mercado Pago, utilize suas **credenciais**, que são chaves únicas usadas para identificar e autenticar sua integração na sua conta. Essas chaves estão diretamente vinculadas à aplicação que você criou para essa integração e permitem desenvolver seu projeto com as melhores medidas de segurança do Mercado Pago.
Para inicializar a biblioteca do Mercado Pago, você precisará usar as credenciais que obteve [na etapa anterior](/developers/pt/docs/checkout-pro/obtain-test-credentials).

> NOTE
>
> Nota
>
> Se estiver desenvolvendo para outra pessoa, você poderá acessar as credenciais das aplicações que não administra. Para mais informações, consulte a seção [Compartilhar credenciais](/developers/pt/docs/checkout-pro/additional-content/your-integrations/credentials#bookmark_compartilhar_credenciais).

Primeiro, é necessário **ativar as credenciais de produção**. Para isso, siga os passos abaixo e forneça as informações solicitadas sobre o seu negócio.

1. Em [Suas integrações](/developers/panel/app), selecione seu aplicativo. Em seguida, vá até a seção **Produção** e clique em **Credenciais de produção** no menu à esquerda da tela.
2. No campo **Indústria**, selecione a indústria correspondente ao negócio que você está integrando no menu suspenso.
3. No campo **Site web (obrigatório)**, insira a URL do site do seu negócio.
4. Aceite a ----[mlb]----[Declaração de Privacidade](https://www.mercadopago.com.br/privacidade) ------------ ----[mla, mlm, mlu, mco, mlc, mpe]----[Declaração de Privacidade](https://www.mercadopago.com/privacidad) ------------ e os [Termos e condições](/developers/pt/docs/resources/legal/terms-and-conditions) do Mercado Pago. Por fim, complete o reCAPTCHA e clique em **Ativar credenciais de produção**.

Após ativar suas credenciais de produção, você poderá utilizar o seu `access token` de **produção**, disponível nos detalhes da sua aplicação em [Suas integrações](/developers/panel/app).

Em seguida, no backend do seu projeto, crie um arquivo principal (_main_) na linguagem de programação que você está utilizando. Insira o seguinte código, substituindo `PROD_ACCESS_TOKEN` pelo seu `access token` de produção.
Em seguida, no backend do seu projeto, crie um arquivo principal (_main_) na linguagem de programação que você está utilizando. Insira o seguinte código, substituindo `PROD_ACCESS_TOKEN` pelo `access token` de produção da conta de teste do vendedor.

[[[
```php
Expand Down
13 changes: 13 additions & 0 deletions guides/checkout-pro/obtain-test-credentials.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Obtain test credentials

During integration, use **test credentials** to perform the necessary configurations and tests without creating real payments in production. To obtain them, you should create a **seller test account**, create a test application, and use its production credentials.

To do this, follow the steps below:

## 1. Create a test seller account

[TXTSNIPPET][/guides/snippets/test-cross/configure-test-seller-user]

## 2. Create a test application and obtain credentials

[TXTSNIPPET][/guides/snippets/test-cross/create-test-app]
13 changes: 13 additions & 0 deletions guides/checkout-pro/obtain-test-credentials.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Obtener credenciales de prueba

Durante la integración, utiliza **credenciales de prueba** para realizar las configuraciones y pruebas necesarias sin crear pagos reales en producción. Para obtenerlas, deberás crear una **cuenta de prueba de vendedor**, crear una aplicación de prueba y utilizar sus credenciales de producción.

Para ello, sigue los pasos a continuación:

## 1. Crear una cuenta de vendedor de prueba

[TXTSNIPPET][/guides/snippets/test-cross/configure-test-seller-user]

## 2. Crear una aplicación de prueba y obtener credenciales

[TXTSNIPPET][/guides/snippets/test-cross/create-test-app]
13 changes: 13 additions & 0 deletions guides/checkout-pro/obtain-test-credentials.pt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Obter credenciais de teste

Durante a integração, utilize **credenciais de teste** para realizar as configurações e testes necessários sem criar pagamentos reais em produção. Para obtê-las, você deverá criar uma **conta de teste de vendedor**, criar uma aplicação de teste e utilizar suas credenciais de produção.

Para isso, siga os passos abaixo:

## 1. Criar conta de teste de vendedor

[TXTSNIPPET][/guides/snippets/test-cross/configure-test-seller-user]

## 2. Criar aplicação de teste e obter credenciais

[TXTSNIPPET][/guides/snippets/test-cross/create-test-app]
11 changes: 4 additions & 7 deletions guides/checkout-pro/test-integration.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@

The testing process allows you to verify whether the configurations made during your integration work correctly, and whether payments will be processed without errors, avoiding potential failures when making the checkout available to end buyers.

To start this process, it is necessary to set up your testing environment by creating test users for the seller and the buyer. This will allow you to configure a test application, obtain the required credentials, and apply them in your integration. After this, you can perform a test payment using a buyer's test account.
To ensure the success of your integration, it is essential to set up the testing environment by creating a test account of the buyer type. Once this setup is complete, you will be able to simulate test payments using that user's account.

Below are the steps to follow:
Below, we present the step-by-step process:

## 1. Create test seller account
[TXTSNIPPET][/guides/snippets/test-cross/configure-test-seller-user]
## Create a test buyer account

## 2. Create test buyer account

To test your integration, you need to perform a test purchase using a test buyer account, simulating the action of a real buyer. Follow the steps below to create a test buyer account.
To test your integration, you must perform a test purchase using a test buyer account. To do this, follow the steps below:

1. In [Mercado Pago Developers](/developers/en/docs), navigate to [Your integrations](/developers/panel/app) at the top right of the screen and click on the card corresponding to the application you are developing.
2. After accessing "Application Details," go to the **Test Accounts** section in the left sidebar and click the **+ Create Test Account** button.
Expand Down
Loading