Interface to the Adyen payment gateway
Project description
tranchitella.adyen
This package offers a Python interface to the Adyen payment gateway.
Usage
This is an example usage of the package:
>>> from tranchitella.adyen import AdyenPaymentGateway >>> obj = AdyenPaymentGateway( ... url='https://pal-test.adyen.com/pal/servlet/soap/Payment', ... user='ws@Company.YourCompany', password='YourPassword', ... merchantAccount='MerchantAccount', ... ) >>> obj.authorise('T-1', 100, 'EUR', 'FABIO TRANCHITELLA', ... '5555444433331111', '12', '2012', '737', ipAddress='127.0.0.1') {'authCode': ... } >>> print obj.cancel('8112083591854919') True >>> print obj.capture('8112083586124880', 100, 'EUR') True >>> print obj.refund('8112083586124880', 100, 'EUR') True
0.1 (2010-02-26)
First public release.
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
tranchitella.adyen-0.1.tar.gz
(11.8 kB
view hashes)