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
>>> 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')
Release History
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
ezi-0.2.6.tar.gz
(3.4 kB
view details)
Built Distribution
ezi-0.2.6-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file ezi-0.2.6.tar.gz
.
File metadata
- Download URL: ezi-0.2.6.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612d4a44c02df972a2b6384ad5c77d7906204d2efe3ac7747c61e67bcb762a19 |
|
MD5 | 23839304386e0ad2a6682d257c5e28bb |
|
BLAKE2b-256 | 95ca28a9d1d2fd19aea7a3b8e9e1d731122b2dbfe52fb3741dd47fde5584a57f |
File details
Details for the file ezi-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: ezi-0.2.6-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab38db5a3931a591afcb7ace8501dd7b2a3b31fedebe2fcad706745d879f9361 |
|
MD5 | 49e3de198a3df22224635d86da631ee6 |
|
BLAKE2b-256 | b2bdf42e54c148ddfcaba9f164cc60d328aa797e45170e64921a28e644cb72e4 |