-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2453 from mercadopago/docs/activities-0709
Docs/activities-0609
- Loading branch information
Showing
15 changed files
with
33 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,6 @@ customer = customer_response[:response] | |
|
||
card_request = { | ||
token: '9b2d63e00d66a8c721607214cedaecda', | ||
issuer_id: '3245612', | ||
payment_method_id: 'visa' | ||
} | ||
card_response = sdk.card.create(customer['id'], card_request) | ||
|
@@ -113,7 +112,6 @@ customer = customer_response["response"] | |
|
||
card_data = { | ||
"token": "9b2d63e00d66a8c721607214cedaecda", | ||
"issuer_id": "3245612", | ||
"payment_method_id": "visa" | ||
} | ||
card_response = sdk.card().create(customer["id"], card_data) | ||
|
@@ -168,7 +166,7 @@ curl -X POST \ | |
-H 'Content-Type: application/json' \ | ||
-H 'Authorization: Bearer ENV_ACCESS_TOKEN' \ | ||
'https://api.mercadopago.com/v1/customers/CUSTOMER_ID/cards' \ | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "issuer_id": "3245612", "payment_method_id": "visa"}' | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "payment_method_id": "visa"}' | ||
``` | ||
]]] | ||
|
@@ -199,4 +197,4 @@ The response will bring the following result. | |
> | ||
> Attention | ||
> | ||
> If the request response returns an error like `invalid parameter` with HTTP code 400, review the `payment_method_id` and `issuer_id` parameters to ensure that the values have been entered correctly. Also, when using test users, keep in mind the following format for customer email: `test_payer_[0-9]{1,10}@testuser.com` For example: `[email protected]`. | ||
> If the request response returns an error like `invalid parameter` with HTTP code 400, review the `payment_method_id` parameter to ensure that the value have been entered correctly. Also, when using test users, keep in mind the following format for customer email: `test_payer_[0-9]{1,10}@testuser.com` For example: `[email protected]`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,6 @@ customer = customer_response[:response] | |
|
||
card_request = { | ||
token: '9b2d63e00d66a8c721607214cedaecda', | ||
issuer_id: '3245612', | ||
payment_method_id: 'visa' | ||
} | ||
card_response = sdk.card.create(customer['id'], card_request) | ||
|
@@ -113,7 +112,6 @@ customer = customer_response["response"] | |
|
||
card_data = { | ||
"token": "9b2d63e00d66a8c721607214cedaecda", | ||
"issuer_id": "3245612", | ||
"payment_method_id": "visa" | ||
} | ||
card_response = sdk.card().create(customer["id"], card_data) | ||
|
@@ -168,7 +166,7 @@ curl -X POST \ | |
-H 'Content-Type: application/json' \ | ||
-H 'Authorization: Bearer ENV_ACCESS_TOKEN' \ | ||
'https://api.mercadopago.com/v1/customers/CUSTOMER_ID/cards' \ | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "issuer_id": "3245612", "payment_method_id": "visa"}' | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "payment_method_id": "visa"}' | ||
``` | ||
]]] | ||
|
@@ -199,4 +197,4 @@ La respuesta dará el siguiente resultado | |
> | ||
> Atención | ||
> | ||
> Si la respuesta de la solicitud devuelve un error del tipo `invalid parameter` con el código HTTP 400, verifica los parámetros `payment_method_id` y `issuer_id` y asegúrate de que los valores se hayan introducido correctamente. Además, cuando estés utilizando usuarios de prueba, recuerda respetar el siguiente formato para el email del cliente: test_payer_[0-9]{1,10}@testuser.com. Por ejemplo: [email protected]. | ||
> Si la respuesta de la solicitud devuelve un error del tipo `invalid parameter` con el código HTTP 400, verifica el parámetro `payment_method_id` y asegúrate de que el valor se haya introducido correctamente. Además, cuando estés utilizando usuarios de prueba, recuerda respetar el siguiente formato para el email del cliente: test_payer_[0-9]{1,10}@testuser.com. Por ejemplo: [email protected]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,6 @@ customer = customer_response[:response] | |
|
||
card_request = { | ||
token: '9b2d63e00d66a8c721607214cedaecda', | ||
issuer_id: '3245612', | ||
payment_method_id: 'visa' | ||
} | ||
card_response = sdk.card.create(customer['id'], card_request) | ||
|
@@ -113,7 +112,6 @@ customer = customer_response["response"] | |
|
||
card_data = { | ||
"token": "9b2d63e00d66a8c721607214cedaecda", | ||
"issuer_id": "3245612", | ||
"payment_method_id": "visa" | ||
} | ||
card_response = sdk.card().create(customer["id"], card_data) | ||
|
@@ -168,7 +166,7 @@ curl -X POST \ | |
-H 'Content-Type: application/json' \ | ||
-H 'Authorization: Bearer ENV_ACCESS_TOKEN' \ | ||
'https://api.mercadopago.com/v1/customers/CUSTOMER_ID/cards' \ | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "issuer_id": "3245612", "payment_method_id": "visa"}' | ||
-d '{"token": "9b2d63e00d66a8c721607214cedaecda", "payment_method_id": "visa"}' | ||
``` | ||
]]] | ||
|
@@ -199,4 +197,4 @@ A resposta trará o seguinte resultado. | |
> | ||
> Atenção | ||
> | ||
> Caso a resposta da requisição retorne um erro do tipo `invalid parameter` com código HTTP 400, revise os parâmetros `payment_method_id` e `issuer_id` e garanta que os valores tenham sido inseridos de maneira correta. Além disso, ao utilizar usuários de teste, tenha em mente o seguinte formato para o e-mail do cliente: `test_payer_[0-9]{1,10}@testuser.com` Por exemplo: `[email protected]`. | ||
> Caso a resposta da requisição retorne um erro do tipo `invalid parameter` com código HTTP 400, revise o parâmetro `payment_method_id` e garanta que o valor tenha sido inserido de maneira correta. Além disso, ao utilizar usuários de teste, tenha em mente o seguinte formato para o e-mail do cliente: `test_payer_[0-9]{1,10}@testuser.com` Por exemplo: `[email protected]`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.