Skip to main content

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

https://piwik.sturm.com.au/piwik.php?idsite=20&rec=1

Project details


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.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

ezi-0.2.7-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ezi-0.2.7.tar.gz.

File metadata

  • Download URL: ezi-0.2.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ezi-0.2.7.tar.gz
Algorithm Hash digest
SHA256 51175f283402d71831ebd03bc3ad18733ff558dec0119aa9a094e3f80593b33d
MD5 e614eb0ba047c8cfcada3d0372a40190
BLAKE2b-256 57b8da2ac26202fb678bae7f90e226c58e0b413a5746dedbfab0f95916c587c0

See more details on using hashes here.

File details

Details for the file ezi-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for ezi-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 063927a51f96a10510b0ae351f5e1349b98c4fb9da6795d3c04005d27f1eb189
MD5 e6ea97ab6ef02c55380ba17f50d0947e
BLAKE2b-256 09cb0575b51cc49d77a6d47e711e3b1324bc2a84cceaf2232a8d91d51f04be24

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page