mcmatrix / wirexfers

Simple API for IPizza and Solo/TUPAS payment protocols. NB! This project is currently not maintained and needs to be updated to latest APIs.

Home Page:http://plaes.org/projects/wirexfers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WireXfers [waɪə trænsfɜːz]

https://raw.github.com/plaes/wirexfers/master/docs/_static/wiretransfers-logo.png

WireXfers is an online payments library, written in Python, supporting various online payment protocols (IPizza, Solo/TUPAS) using a simple API, making it easily integratable with various web frameworks (Flask, ...).

WireXfers is written by Priit Laes with support from procom.ee, Povi and ScienceMosaic.

Features

  • Single API for different providers

  • Supported protocols:

    • IPizza

      • Estonia:

        • Danske Bank
        • Krediidipank
        • LHV Bank
        • SEB Bank
        • SwedBank
    • Solo/TUPAS

      • Estonia:

        • Nordea Bank

Installation

To install WireXfers, simply:

$ pip install wirexfers

Or, if you absolutely must:

$ easy_install wirexfers

But, you really shouldn't do that.

Usage example

Basic usage in pseudocode:

# Create provider-specific keychain...
keychain = PaymentProtocol.KeyChain(...)

# ...and initialize the provider
provider = PaymentProtocol(user, keychain, endpoint)

# Creating the payment request
payment = provider(payment_info, return_urls)

# Parsing the payment response
response = provider.parse_response(request.form)
if response.successful:
    # do something
else:
    # report failure

About

Simple API for IPizza and Solo/TUPAS payment protocols. NB! This project is currently not maintained and needs to be updated to latest APIs.

http://plaes.org/projects/wirexfers

License:ISC License


Languages

Language:Python 99.4%Language:Makefile 0.6%