Interface to the Ezidebit payment gateway for credit card and bank account payments.
Project description
ezi is a Python interface to the Ezidebit payment gateway.
Example
To add a new direct debit by bank account or credit card:
>>> from ezi import (
... add_bank_debit, add_card_debit, add_payment, clear_schedule,
... edit_customer_bank_account, edit_customer_credit_card,
... get_settled_payments)
>>> add_bank_debit(
... 608725, 'Example', 'Person', 'email@example.com', 'invoice-99',
... '200', '2015-03-01', 'Mr Person', '111111', '123456',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> add_card_debit(
... 608725, 'Example', 'Person', 'email@example.com', 'invoice-99',
... '200', '2015-03-01', 'Mr Example', '4444333322221111', '01/16',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> clear_schedule(
... 608725,
... 'https://api.demo.ezidebit.com.au/v3-3/nonpci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> add_payment(
... 608725, 'invoice-99', '200', '2015-03-01',
... 'https://api.demo.ezidebit.com.au/v3-3/nonpci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> edit_customer_bank_account(
... 608725, 'Mr Example', '111111', '123456',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> edit_customer_credit_card(
... 608725, 'Mr Example', '4444333322221111', '01/16',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> get_settled_payments(
... '2015-03-01', '2015-03-02',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY').Payment
Release History
0.3.2 (2016-03-21)
Improvement
Change get_settled_payments to return a list of Payment objects.
0.3.1 (2016-03-21)
Bug fixes
Add get_settled_payments to ezi/__init__.py.
0.3 (2016-03-16)
Improvements
Add a get_settled_payments function.
0.2.7 (2015-09-14)
Improvements
Strip non-digit characters from credit card number.
0.2.6 (2015-08-13)
Improvements
Handle suds.WebFault and translate to an EzidebitError.
0.2.5 (2015-07-31)
Improvements
Add HISTORY.rst.
0.2.4 (2015-07-31)
Improvements
Add syntax highlighting to README.rst.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ezi-0.3.2.tar.gz
.
File metadata
- Download URL: ezi-0.3.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ef2cf28fddbe6867c48a2f9ed3f688f2e0c904156d5909861e487171a1fee8 |
|
MD5 | 2dba01159fe03c8c4ee67894ed89429d |
|
BLAKE2b-256 | e829beef40cca10df20d22cbb450e9b9dcd21bc78edc039d75a2efaf27624943 |
File details
Details for the file ezi-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: ezi-0.3.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a873742a2bc37ac03e1ebfb87bf05758e4ade881163ab56ef29866bdfd0c3725 |
|
MD5 | b2710926cc763df329c333f02ad0c0db |
|
BLAKE2b-256 | ec503999289d29b5faa56c1b4b894153683115f3db00f5aff20b0796ffd6da54 |