Skip to main content

ComproPago payment processor for Django-LFS

Project description

==============
LFS Compropago
==============

`Django LFS <http://getlfs.com/>`_ payment processor plugin for `Compropago <https://compropago.com/>`_, a Payment gateway that accepts payments in well known convenience stores across Mexico.

Installation
============

Modify ``buildout.cfg``. Add ``lfs-compropago`` to ``develop`` and ``eggs``::

[buildout]
....
develop =
src/lfs-compropago
eggs =
django-lfs
...
lfs-compropago

Modify your ``settings.py``
---------------------------

First add ``CompropagoProcessor`` to the list of available payment processors.
It should look like this:

.. code:: python

LFS_PAYMENT_METHOD_PROCESSORS = [
...
["lfs_compropago.CompropagoProcessor", _(u"Compropago")],
]

Also add it to ``INSTALLED_APPS``:

.. code:: python

INSTALLED_APPS = (
...
'lfs_compropago',
)

Now add settings for your compropago account:

.. code:: python

COMPROPAGO_API_KEY = "UwG9SYdHvh7bZ6eFA3242xxyyzz"

Finally, add url routingsin your ``urls.py``:

.. code:: python

urlpatterns += patterns("",
...
(r'^compropago/', include('lfs_compropago.urls')),
)

Restart Django.

After restart, go to "Manage -> Payment methods", add a new one, and select
"Compropago" on "Module" field.

Contributing
============

Submit bugs and issues to the `GitHub repository <https://github.com/tzicatl/lfs-compropago>`_.

AUTHORS
=======

If you have contributed to this package feel free to add your name and email to the list.

* Noe Nieto <nnieto@noenieto.com>

=======
CHANGES
=======

0.2 (2015-12-27)
----------------

* Improve documentation and packaging.

0.1 (2015-12-01)
----------------

* Initial release to PyPI.
* Functional Payment processor.

Project details


Download files

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

Source Distribution

lfs-compropago-0.2.tar.gz (103.4 kB view details)

Uploaded Source

Built Distribution

lfs_compropago-0.2-py2-none-any.whl (108.2 kB view details)

Uploaded Python 2

File details

Details for the file lfs-compropago-0.2.tar.gz.

File metadata

File hashes

Hashes for lfs-compropago-0.2.tar.gz
Algorithm Hash digest
SHA256 c8434f03748dfe197fe147e437e3c0be5832b257863e91fd2316c4c8c5ee7c2c
MD5 06b091f6a3ed6cfa0124c021b9c4bdfd
BLAKE2b-256 0d1ba7e00d462fc2c6ec607cf08d13be14d2fad07a14823b15d25454c522e848

See more details on using hashes here.

File details

Details for the file lfs_compropago-0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for lfs_compropago-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 f32567642abcdbfcd87f00dbfba4ed266cda81bc22363c2e057ed29c58471252
MD5 d75e0e1bca9d7aeb65b4e59b1fbda232
BLAKE2b-256 e6a753286f4a34a38a2082daeefe929c4f2b8a8ca3c5960766be1ef196ed6dab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page