Metadata-Version: 2.1
Name: django-payments-mercadopago
Version: 0.4.0
Summary: A mercadopago payment gateway backend for django-payments.
Home-page: https://github.com/EduardoZepeda/django-payments-mercadopago
Author: Eduardo Zepeda
Author-email: eduardozepeda@coffeebytes.dev
License: MIT license
Download-URL: https://github.com/EduardoZepeda/django-payments-mercadopago/archive/0.4.0.tar.gz
Description: django-payments-mercadopago
        ===========================
        
        A mercadopago payment gateway backend for `django-payments <https://github.com/mirumee/django-payments>`_
        
        
        Installation
        ------------
        
        You can install it via pip
        
        .. code-block:: bash
        
          pip install django-payments-mercadopago
        
        Add *payments_mercadopago* to your *settings.py* file
        
        .. code-block:: python
        
          INSTALLED_APPS = [
              # ...
              'payments_mercadopago',
              ]
        
        Settings.py configuration
        -------------------------
        
        Add the *payments_mercadopago.MercadoPagoProvider* to your *PAYMENT_VARIANTS* variable. Also to make it available add MercadoPago to your *CHECKOUT_PAYMENT_CHOICES variable*
        
        Configuration for development
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
        .. code-block:: python
        
          PAYMENT_VARIANTS = {
              # ...
              'MercadoPago':('payments_mercadopago.MercadoPagoProvider',{
                  'access_token': 'MERCADO_PAGO_SANDBOX_ACCESS_TOKEN',
                  'sandbox_mode': True})
          }
        
          CHECKOUT_PAYMENT_CHOICES = [('MercadoPago', 'Mercado Pago')]
        
        If you have any problem using localhost urls as the return value of get_failure_url() or get_success_url() methods try using `ngrok <https://ngrok.com>`_ instead.
        
        Configuration for production
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        .. code-block:: python
        
          PAYMENT_VARIANTS = {
              # ...
              'MercadoPago':('payments_mercadopago.MercadoPagoProvider',{
                  'access_token': 'MERCADO_PAGO_ACCESS_TOKEN',
                  'sandbox_mode': False})
          }
        
          CHECKOUT_PAYMENT_CHOICES = [('MercadoPago', 'Mercado Pago')]
        
        Obtaining the Tokens
        --------------------
        
        You can get your own Mercado Pago production and sandbox access tokens in your `Mercado pago developer panel <https://www.mercadopago.com/developers/panel/credentials>`_
        
        
        
        Documentation
        -------------
        
        For detailed instructions on how to use django-payments please visit the official `django-payments documentation <https://django-payments.readthedocs.io/en/latest/>`_
        
        
        =======
        History
        =======
        
        0.4.0 (2020-10-17)
        ------------------
        
        * Change project layout, adapted from cookiecutter. Include tox tests, add AUTHOR, CONTRIBUTING, HISTORY, Docs, etc.
        
Keywords: django-payments,mercadopago,django
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Description-Content-Type: text/markdown
