Skip to main content

Python API Client for GMO Payment Gateway

Project description

PyPI version

GmoPayment Python PyPackage

Python API Client for GMO Payment Gateway

Installation

Use the package manager pip to install foobar.

pip install GmoPayment

Usage

Sample calling ExecTran.idPass

from GmoPayment import Gateway, ResponseError

gmopg = Gateway(timeout=10, production=True)
try:
    response = gmopg.tran.execute({'ShopID': 'shop_id', 'ShopPass': 'password', 'OrderID': 'ORDER0000001', 'JobCd': '1234', 'Amount': 1000})
except ResponseError as e:
    print(e)
else:
    print(response.data)

Parameter names conform to payment gateway specifications.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

GmoPayment-0.0.3.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

GmoPayment-0.0.3-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

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