Skip to main content

ComproPago payment processor for Django-LFS

Project description

What is it?
===========

lfs_compropago is the integration of `Compropago <https://compropago.com/>`_ into `LFS <http://getlfs.com/>`_, an online shop based on Django.

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:

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

Also add it to ``INSTALLED_APPS``.::

INSTALLED_APPS = (
...
'lfs_compropago',
)

Now add settings for your compropago account:

COMPROPAGO_API_KEY = "UwG9SYdHvh7bZ6eFA3242xxyyzz"

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

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.


1.0
===
Initial release

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.1.tar.gz (5.4 kB view hashes)

Uploaded source

Built Distribution

lfs_compropago-0.1-py2-none-any.whl (8.4 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page