<commit_before>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 = "<KEY>"

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

<commit_msg>A few improvements to README<commit_after>==============
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 = "<KEY>"

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.


Changes
=========

1.0 (2015-12-01) Initial release


{'fraction_non_alphanumeric': 0.17368018362662585, 'fraction_numerical': 0.0045906656465187455, 'mean_word_length': 2.6779184247538677, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1108189', 'n_tokens_mistral': 872, 'n_tokens_neox': 837, 'n_words': 226}