This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
django-moneta
=============

Django app for Moneta eTerminal API.
Mozzila's NSS library is used for secure communications, because OpenSSL or GnuTLS doesn't work with Moneta's servers.



Requirements
------------

* [Django] 1.3+
* [pysimplesoap] 1.08b+
* [python-nss] 0.12+

Installation
--------------

```pip install django-moneta```

Usage
-----

1. Create NSS database with Mobitel's root CA certificate and your client certificate (you can use certconvert.sh)
2. Edit your settings.py
* Add `moneta` to `INSTALLED_APPS`
* set `MONETA_DBDIR` to point to NSS directory you've created in the first step
* set `MONETA_CERT_NAME` to your client certificate name
* optionally set `MONETA_PIN` if you're using it
* set `MONETA_PRODUCTION` to `True` when you go to production
3. Use `Transaction` model:

```python
from decimal import Decimal
from moneta.models import Transaction

t = Transaction(value=Decimal('1.23'), reference='areference123')
token = t.getToken()

print "Please call %s to pay." % token

t.getStatus()
print t.status #should be 11 since it was just created

t.cancel()
print t.status #should be 7
```

When transaction is finished `transaction_done` signal is emitted.

TODO
====

* Suport delayed transaction
* Support other API functions

Author
------

[Visionect d.o.o.], [Matevž Mihalič]

Licence
-------

MIT: http://mit-license.org/


[Django]: http://djangoproject.com/
[pysimplesoap]: https://code.google.com/p/pysimplesoap/
[python-nss]: https://www.mozilla.org/projects/security/pki/python-nss/
[Visionect d.o.o.]: http://www.visionect.si
[Matevž Mihalič]: http://marv.si
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-moneta-0.1.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source May 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting