Python API Client for GMO Payment Gateway
Project description
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
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
GmoPayment-0.0.3.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file GmoPayment-0.0.3.tar.gz
.
File metadata
- Download URL: GmoPayment-0.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd2f2fa8df75fd05b3486a8f4bfb7b62ab8f8ca0c42cfe4bd0cd523afe2fc26 |
|
MD5 | ea7992fba2ac32e0aadeff19e738c5a3 |
|
BLAKE2b-256 | 89dd313c24d1d388e0c46954df831f5c5e0fdb179e67aaab91be5663a8f5c30d |
File details
Details for the file GmoPayment-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: GmoPayment-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e7bdb53056d83f7b66f60b9de71e3ae30c0bfc64d38c41a16c8873c0fcd85f |
|
MD5 | 91e713d1a99375347776c10f47c4b49d |
|
BLAKE2b-256 | 20214d8e92bda1bb9a68880b58cf1c260b1334d6a484cf5a6c7a68d467dc9471 |