Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Meio de pagamento usando o MercadoPago (https://www.mercadopago.com.br)

Project description

LI-Pagador-MercadoPago
======================

Meio de pagamento para o LI-Pagador usando o MercadoPago (http://www.mercadopago.com.br)


## Usuários de teste

### Como criar:
https://developers.mercadopago.com/documentacao/autenticacao
POST em https://api.mercadolibre.com/oauth/token
com grant_type=client_credentials&client_id=ZAS&client_secret=ZAS

https://developers.mercadopago.com/documentacao/criar-usuarios-de-teste#create-test-user
POST em https://api.mercadolibre.com/users/test_user?access_token=APP_USR-1596438061034492-090209-10dd185401d4613cdd3f66083906f6df__K_F__-136625838
com {"site_id":"MLB"}

### Dono App:

{"id":188818872,"nickname":"TETE483331","password":"qatest7840","site_status":"active","email":"test_user_26620187@testuser.com"}

### Lojista:
{
id: 191568478
nickname: "TETE885506"
password: "qatest4594"
site_status: "active"
email: "test_user_1779050@testuser.com"
}


Comprador:
{
id: 191571815
nickname: "TETE8541757"
password: "qatest7234"
site_status: "active"
email: "test_user_25804540@testuser.com"
}

Criando aplicações:
http://developers.mercadopago.com/documentation/applications

APP Local:
ID: 4881490647844915
SECRET: 9UtO6yiQsml1GPH0WtqHiPMjvbJYo69E

Exemplo de retorno de resultado do MP

http://localhost:5000/pagador/meio-pagamento/mercadopago/retorno/8/resultado?
referencia=707&
next_url=http://www.custompaper.com.br/checkout/707/finalizacao&sucesso=2&
collection_id=1078562391&
collection_status=pending&
preference_id=177547755-8d1ff996-61df-4c7c-ba2e-ee71d108cbd4&
external_reference=707&
payment_type=ticket

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for li-pagador-mercadopago, version 2.2.11
Filename, size File type Python version Upload date Hashes
Filename, size li-pagador-mercadopago-2.2.11.zip (14.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page