Retrieve payments from Fio bank API (through fiobank package) and parse them into Payment objects.
The full documentation is at https://dj-fiobank-payments.readthedocs.io.
Install Django Fio bank payments:
pip install dj-fiobank-payments
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'dj_fiobank_payments.apps.DjFiobankPaymentsConfig',
...
)
Point it to your Orders model (should be derived from dj_fiobank_payments.models.AbstractOrder:
FIOBANK_PAYMENTS_ORDER_MODEL = 'tests.Order'
Creates Payments from Fio statements and pair them with your custom Order model.
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: