Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django app for Moneta eTerminal API.

Project Description


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.


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


```pip install django-moneta```


1. Create NSS database with Mobitel's root CA certificate and your client certificate (you can use
2. Edit your
* 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:

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

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

print t.status #should be 7

When transaction is finished `transaction_done` signal is emitted.


* Suport delayed transaction
* Support other API functions


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



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

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.2 kB) Copy SHA256 Hash SHA256
Source None May 22, 2013

Supported By

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