[![PyPI version](https://img.shields.io/pypi/v/GmoPayment.svg)](https://pypi.python.org/pypi/GmoPayment)
# GmoPayment Python PyPackage
Python API Client for GMO Payment Gateway
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.
```bash
pip install GmoPayment
```
# Usage
Sample calling ExecTran.idPass
```python
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](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/blueromans/GmoPayment.git",
"name": "GmoPayment",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "GmoPayment",
"author": "Ya\u015far \u00d6zyurt",
"author_email": "blueromans@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/89/dd/313c24d1d388e0c46954df831f5c5e0fdb179e67aaab91be5663a8f5c30d/GmoPayment-0.0.3.tar.gz",
"platform": null,
"description": "[![PyPI version](https://img.shields.io/pypi/v/GmoPayment.svg)](https://pypi.python.org/pypi/GmoPayment)\n\n# GmoPayment Python PyPackage\n\nPython API Client for GMO Payment Gateway\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.\n\n```bash\npip install GmoPayment\n```\n# Usage\n\nSample calling ExecTran.idPass\n\n```python\nfrom GmoPayment import Gateway, ResponseError\n\ngmopg = Gateway(timeout=10, production=True)\ntry:\n response = gmopg.tran.execute({'ShopID': 'shop_id', 'ShopPass': 'password', 'OrderID': 'ORDER0000001', 'JobCd': '1234', 'Amount': 1000})\nexcept ResponseError as e:\n print(e)\nelse:\n print(response.data)\n```\n\nParameter names conform to payment gateway specifications.\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
"bugtrack_url": null,
"license": "",
"summary": "Python API Client for GMO Payment Gateway",
"version": "0.0.3",
"split_keywords": [
"gmopayment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20214d8e92bda1bb9a68880b58cf1c260b1334d6a484cf5a6c7a68d467dc9471",
"md5": "91e713d1a99375347776c10f47c4b49d",
"sha256": "83e7bdb53056d83f7b66f60b9de71e3ae30c0bfc64d38c41a16c8873c0fcd85f"
},
"downloads": -1,
"filename": "GmoPayment-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "91e713d1a99375347776c10f47c4b49d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8071,
"upload_time": "2023-02-12T01:18:34",
"upload_time_iso_8601": "2023-02-12T01:18:34.561192Z",
"url": "https://files.pythonhosted.org/packages/20/21/4d8e92bda1bb9a68880b58cf1c260b1334d6a484cf5a6c7a68d467dc9471/GmoPayment-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "89dd313c24d1d388e0c46954df831f5c5e0fdb179e67aaab91be5663a8f5c30d",
"md5": "ea7992fba2ac32e0aadeff19e738c5a3",
"sha256": "1fd2f2fa8df75fd05b3486a8f4bfb7b62ab8f8ca0c42cfe4bd0cd523afe2fc26"
},
"downloads": -1,
"filename": "GmoPayment-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ea7992fba2ac32e0aadeff19e738c5a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6521,
"upload_time": "2023-02-12T01:18:36",
"upload_time_iso_8601": "2023-02-12T01:18:36.587331Z",
"url": "https://files.pythonhosted.org/packages/89/dd/313c24d1d388e0c46954df831f5c5e0fdb179e67aaab91be5663a8f5c30d/GmoPayment-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-12 01:18:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "blueromans",
"github_project": "GmoPayment.git",
"lcname": "gmopayment"
}