{ "info": { "author": "customweb GmbH", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Financial and Insurance Industry", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Office/Business :: Financial :: Point-Of-Sale" ], "description": "[![Build Status](https://travis-ci.org/wallee-payment/python-sdk.svg?branch=master)](https://travis-ci.org/wallee-payment/python-sdk)\n\n# wallee Python Library\n\nThe wallee Python library wraps around the wallee API. This library facilitates your interaction with various services such as transactions, accounts, and subscriptions.\n\n## Documentation\n\n[wallee Web Service API](https://app-wallee.com/doc/api/web-service)\n\n## Requirements\n\n- Python 3.4+\n\n## Installation\n\n### pip install (recommended)\n```sh\npip install --upgrade wallee\n```\n\n### pip install from source via github\n\n```sh\npip install git+http://github.com/wallee-payment/python-sdk.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+http://github.com/wallee-payment/python-sdk.git` )\n\n### install from source via Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install\n```\n(or `sudo python setup.py install` to install the package for all users)\n\n## Usage\nThe library needs to be configured with your account's space id, user id, and secret key which are available in your [wallee\naccount dashboard](https://app-wallee.com/account/select). Set `space_id`, `user_id`, and `api_secret` to their values.\n\n### Configuring a Service\n\n```python\nfrom wallee import Configuration\nfrom wallee.api import TransactionServiceApi, TransactionPaymentPageServiceApi\nfrom wallee.models import LineItem, LineItemType, TransactionCreate\n\nspace_id = 405\n\nconfig = Configuration(\n user_id=512,\n api_secret='FKrO76r5VwJtBrqZawBspljbBNOxp5veKQQkOnZxucQ='\n)\ntransaction_service = TransactionServiceApi(configuration=config)\ntransaction_payment_page_service = TransactionPaymentPageServiceApi(configuration=config)\n\n```\n\nTo get started with sending transactions, please review the example below:\n\n```python\nfrom wallee import Configuration\nfrom wallee.api import TransactionServiceApi, TransactionPaymentPageServiceApi\nfrom wallee.models import LineItem, LineItemType, TransactionCreate\n\nspace_id = 405\n\nconfig = Configuration(\n user_id=512,\n api_secret='FKrO76r5VwJtBrqZawBspljbBNOxp5veKQQkOnZxucQ='\n)\n\ntransaction_service = TransactionServiceApi(configuration=config)\ntransaction_payment_page_service = TransactionPaymentPageServiceApi(configuration=config)\n\n# create line item\nline_item = LineItem(\n name='Red T-Shirt',\n unique_id=5412,\n sku='red-t-shirt-123',\n quantity=1,\n amount_including_tax=29.95,\n type=LineItemType.PRODUCT\n)\n\n# create transaction model\ntransaction = TransactionCreate(\n line_items=[line_item],\n auto_confirmation_enabled=True,\n currency='EUR',\n)\n\ntransaction_create = transaction_service.create(space_id=space_id, transaction=transaction)\npayment_page_url = transaction_payment_page_service.payment_page_url(space_id=space_id, id=transaction_create.id)\n# redirect your customer to this payment_page_url\n```\n\n\n## License\n\nPlease see the [license file](https://github.com/wallee-payment/python-sdk/blob/master/LICENSE) for more information.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "wallee,Payment,Payment Integration", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "wallee", "package_url": "https://pypi.org/project/wallee/", "platform": "", "project_url": "https://pypi.org/project/wallee/", "project_urls": null, "release_url": "https://pypi.org/project/wallee/2.0.0/", "requires_dist": null, "requires_python": ">=3.4", "summary": "SDK that allows you to access wallee", "version": "2.0.0" }, "last_serial": 5821991, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "4dab377db3a866790153272072bccb8b", "sha256": "e6e80a8446e7c3c1a527f9f218b3655e057134abf5bb2af70991a172baebf0c2" }, "downloads": -1, "filename": "wallee-1.0.2.tar.gz", "has_sig": false, "md5_digest": "4dab377db3a866790153272072bccb8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 226885, "upload_time": "2019-09-11T12:16:01", "url": "https://files.pythonhosted.org/packages/8d/7a/e6d0b8ddfff0325e459e549ee5d2fa8461d840f5fbab5427c41296e0a31e/wallee-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "4e65951956060f219f6355cf1dbd3f29", "sha256": "740eaf2c9d6ec4a8716f75cda90dae5da1c7c7002733fec0feebaeb30d5401f1" }, "downloads": -1, "filename": "wallee-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4e65951956060f219f6355cf1dbd3f29", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 226769, "upload_time": "2019-09-11T12:30:11", "url": "https://files.pythonhosted.org/packages/23/95/d4189cfd14bd36872aac9edf335e29e0e1d2df0552866f68418bb53e6bbe/wallee-1.0.3.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "0117c683b1233dda4eba2446d24c7045", "sha256": "f4ed669897f673742923e14cc72fec4ed43a63120d8a58bb388dfd6dfe1778bb" }, "downloads": -1, "filename": "wallee-2.0.0.tar.gz", "has_sig": false, "md5_digest": "0117c683b1233dda4eba2446d24c7045", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 234418, "upload_time": "2019-09-12T18:52:56", "url": "https://files.pythonhosted.org/packages/f7/6c/6a96f5422086bc62297807acd4697cbf3b22334c00265031781ae5c78026/wallee-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0117c683b1233dda4eba2446d24c7045", "sha256": "f4ed669897f673742923e14cc72fec4ed43a63120d8a58bb388dfd6dfe1778bb" }, "downloads": -1, "filename": "wallee-2.0.0.tar.gz", "has_sig": false, "md5_digest": "0117c683b1233dda4eba2446d24c7045", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 234418, "upload_time": "2019-09-12T18:52:56", "url": "https://files.pythonhosted.org/packages/f7/6c/6a96f5422086bc62297807acd4697cbf3b22334c00265031781ae5c78026/wallee-2.0.0.tar.gz" } ] }