WhyNotHugo / django-mercadopago

⚠️ Deprecated. Use https://github.com/jazzband/django-payments/ instead.
ISC License
33 stars 12 forks source link

Had integration with DRF #30

Closed emidioandre closed 3 years ago

emidioandre commented 3 years ago

This project have integration with DRF ?

WhyNotHugo commented 3 years ago

You don't need DRF to use this. The API part is already implemented. I do have projects where I use this and DRF, and there's no conflict.

That said, if you're starting a new integration, I'm currently contributing to django-payments, and have migrated a lot of the logic here into it.

Setup is a bit easier, and you immediately get support for other payment providers. The model is a lot cleaner and more understandable too.

django-mercadopago still works though, but obviously won't receive many new features or alike.

emidioandre commented 3 years ago

I'm a junior in this problem, and I have problems to integrate with mercado pago in DRF. I will see django-payments.

Do you have a example in drf with django-mercadopago ?

WhyNotHugo commented 3 years ago

Do you have a example in drf with django-mercadopago ?

DRF is for you service to expose a webservice. That is, to run a server with a REST API.

django-mercadopago is a library to connect to mercadolibre's API. It's a client that connect's to mercadolibre's existing API.

What are you trying to do?

emidioandre commented 3 years ago

I will see this information now, if I had doubt I will new issue