{ "info": { "author": "MultiSafepay", "author_email": "integration@multisafepay.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "

\n \n

\n\n# Python wrapper for the MultiSafepay API\nThis wrapper simplifies working with the MultiSafepay API and allows you to integrate MultiSafepay within your Python application.\n## About MultiSafepay ##\nMultiSafepay is a collecting payment service provider which means we take care of the agreements, technical details and payment collection required for each payment method. You can start selling online today and manage all your transactions from one place.\n## Requirements\n- To use the wrapper you need a MultiSafepay account. You can create a test account on https://testmerchant.multisafepay.com/signup\n- Python 3.6 or higher\n- Packages: requests\n## Installation\nClone this git repository or install the package with pip. \n\nThe following command can be used to install the latest released version of the client:\n```python\npip install multisafepay\n```\n## Usage\nSetup the client for testing\n```python\nfrom multisafepay.client import Client\nmsp_client = Client()\nmsp_client.set_modus('TEST')\nmsp_client.set_api_key('REPLACE WITH API KEY')\n```\nCreating a test order \n```python\n# The following code will create a iDEAL order\nprint(msp_client.order.create({\n \"type\": msp_client.ordertype.REDIRECT,\n \"order_id\": \"my-order-id-1\",\n \"gateway\": msp_client.paymentmethod.IDEAL,\n \"currency\": \"EUR\",\n \"amount\": \"1000\",\n \"description\": \"Test Order Description\",\n \"payment_options\": {\n \"notification_url\": \"https://www.example.com/client/notification?type=notification\",\n \"redirect_url\": \"https://www.example.com/client/notification?type=redirect\",\n \"cancel_url\": \"https://www.example.com/client/notification?type=cancel\"\n },\n \"customer\": {\n \"locale\": \"en_US\"\n }\n}))\n```\nClick [here](https://github.com/MultiSafepay/multisafepay-python-wrapper/tree/master/multisafepay/examples) for more examples.\n## Support\nIf you have any issues, problems or questions you can create an issue on this repository or contact us at integration@multisafepay.com\n\n## Mistakes and improvements \nIf you spot mistakes or want to contribute in improving this wrapper, feel free to [create pull requests](https://github.com/MultiSafepay/multisafepay-python-wrapper/pulls)\n\n## API Documentation\n[Click here](https://docs.multisafepay.com/api/) for the MultiSafepay API documentation.\n## License\n[MIT License](https://github.com/MultiSafepay/multisafepay-python-wrapper/blob/master/LICENSE)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MultiSafepay/multisafepay-python-wrapper", "keywords": "multisafepay,wrapper,payment,gateway,ideal,paypal,creditcard,gift cards,sofort banking", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "multisafepay", "package_url": "https://pypi.org/project/multisafepay/", "platform": "", "project_url": "https://pypi.org/project/multisafepay/", "project_urls": { "Homepage": "https://github.com/MultiSafepay/multisafepay-python-wrapper" }, "release_url": "https://pypi.org/project/multisafepay/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for the MultiSafepay API. The version prior 18/09/2019 is moved to the 'mini-multisafepay' package.", "version": "0.2.0" }, "last_serial": 5848473, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "689523f59795cdce6a6c139b15742e7b", "sha256": "92845e09721f67e81cbd2b4f8cb0e6f55ae39fd4126f3b6e16ba2a6ad056e0a5" }, "downloads": -1, "filename": "multisafepay-0.2.0.tar.gz", "has_sig": false, "md5_digest": "689523f59795cdce6a6c139b15742e7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4099, "upload_time": "2019-09-18T07:57:56", "url": "https://files.pythonhosted.org/packages/db/ec/23ad67494cfa4bb0e6cfc96bf47d6a2164c5881f9e886dad2e5b7d46deb6/multisafepay-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "689523f59795cdce6a6c139b15742e7b", "sha256": "92845e09721f67e81cbd2b4f8cb0e6f55ae39fd4126f3b6e16ba2a6ad056e0a5" }, "downloads": -1, "filename": "multisafepay-0.2.0.tar.gz", "has_sig": false, "md5_digest": "689523f59795cdce6a6c139b15742e7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4099, "upload_time": "2019-09-18T07:57:56", "url": "https://files.pythonhosted.org/packages/db/ec/23ad67494cfa4bb0e6cfc96bf47d6a2164c5881f9e886dad2e5b7d46deb6/multisafepay-0.2.0.tar.gz" } ] }