• 0
Sign in to follow this  
ROBERTOCCOHAN

Problema con integracion

Question

I want to use mercadopago for one of my Argentina client, and i setup it in NodeJS.
Now i want to test my integration in sandbox mode and as per the document:
https://www.mercadopago.com.br/developers/en/guides/marketplace/web-checkout/testing-marketplace/

1. I created three test users to test the marketplace:
{
    "id": 487050076,
    "nickname": "TETE8014625",
    "password": "qatest462",
    "site_status": "active",
    "email": "test_user_49224928@testuser.com"
}
{
    "id": 487050086,
    "nickname": "TESTU7L262I4",
    "password": "qatest4903",
    "site_status": "active",
    "email": "test_user_73481585@testuser.com"
}
{
    "id": 487052262,
    "nickname": "TETE6605446",
    "password": "qatest4759",
    "site_status": "active",
    "email": "test_user_86977216@testuser.com"
}

2. Setup application in account of test_user_49224928@testuser.com
   - you will able to see application here too by login into this user's account.

3. Used APP_ID and Secret key for more API operations. https://www.mercadopago.com.br/developers/en/guides/marketplace/api/create-marketplace/

4. Using this test app credentials, we able to link seller's account successfully. 
For seller we used test_user_73481585@testuser.com
and we got response similar to:
{
    "access_token": "MARKETPLACE_SELLER_TOKEN",
    "public_key": "APP_USR-4bec3627-6e8b-4990-bc76-f672d1fc3885",
    "refresh_token": "TG-XXXXXXXXX-XXXXX",
    "live_mode": true,
    "user_id": USER_ID,
    "token_type": "bearer",
    "expires_in": 15552000,
    "scope": "offline_access payments write"
}

5. Now using public_key we generated this URL(we are using smart checkout method of payment):
https://www.mercadopago.com.ar/checkout/v1/modal?public-key=APP_USR-b2708169-3924-485d-9104-2cd65c9c003d&transaction-amount=20

Smart checkout we referring document here:
https://www.mercadopago.com.br/developers/en/guides/payments/web-payment-checkout/integration/

after adding test credit card information of Argentina Visa card as displayed in below link:
https://www.mercadopago.com.uy/developers/en/guides/payments/api/testing/ 
it given me error of "Unauthorized use of live credentials"

Now the thing is, i'm testing everything with test users according to the documentation, it's still giving me this error... so, how i can test my integration with Sandbox?

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this