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
===========
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 details)
Built Distribution
File details
Details for the file lfs-compropago-0.1.tar.gz
.
File metadata
- Download URL: lfs-compropago-0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92da852168a999719e38c10b1e8badefeefdb93e4309c249b8632ffa6216e962 |
|
MD5 | f3fea0f4e6e1d992364311aa310ce403 |
|
BLAKE2b-256 | 7fd913dc2c904cc77b008b4f2ec83f12bbb02a874552722bbd91766cc029017f |
File details
Details for the file lfs_compropago-0.1-py2-none-any.whl
.
File metadata
- Download URL: lfs_compropago-0.1-py2-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c522aa04caaa3ea88f351ab491399fce7811b028b242069c18374b13745b48 |
|
MD5 | c4ac4f2a2e945a315a3c93a1f9fcadb9 |
|
BLAKE2b-256 | 06adddcd45ea2706d0b97e385fd7f32575ba0366ed7f0777c29bbfc63349212d |