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

Paynova API Python Client

This is an overview of the Paynova API Python Client using Paynova REST API (Aero). More in-depth information can be found in the Wiki.

For Django, see django-paynova package

Installation

pip install paynova-api-python-client

Python 2.6, 2.7, 3.3, 3.4, PyPy are supported

Usage

Create Paynova client:

from paynova_api_python_client import Paynova
client = Paynova('<MERCHANT ID>', '<API Password>')

Call service

response = client.create_order({
    'orderNumber': 'order-id-0001',
    'currencyCode': 'EUR',
    'totalAmount': 10
})

For live version

client = Paynova('<MERCHANT ID>', '<API Password>', live=True)

Errors

If Paynova return an error, PaynovaException will be raised

from paynova_api_python_client import PaynovaException

try:
    response = client.create_order()
except PaynovaException as e:
    # process exception
    # e.errorNumber, e.statusKey, e.statusMessage, e.errors
    pass

Tests

At first make sure that you are in virtualenv.

Install all dependencies:

make setup

To run tests:

make tests

License

MIT licence

Release History

Release History

0.1.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

0.1.0

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

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