WebPay Python bindings
Project description
webpay-python
webpay-python is a client library for python of WebPay.
Requirements
CPython 2.6, 2.7, 3.2, 3.3
Installation
$ pip install webpay
Usage
from webpay import WebPay
webpay = WebPay('YOUR_TEST_SECRET_KEY')
webpay.charges.create(
amount=400,
currency="jpy",
card={
'number': '4242-4242-4242-4242',
'exp_month': '11',
'exp_year': '2014',
'cvc': '123',
'name': 'FOO BAR'
}
)
See Python API document on WebPay official page for more details.
Dependencies
Development
Testing
$ pip install -r dev-requirements.txt $ py.test
License
Copyright (c) 2013 WebPay.
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
webpay-1.0.3.tar.gz
(180.0 kB
view hashes)