{ "info": { "author": "Sam Kingston", "author_email": "sam@sjkwi.com.au", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "==============\ndjango-commweb\n==============\n\ndjango-commweb is a Django module for interfacing with the CommWeb_ merchant gateway, the Commonwealth Bank of Australia's merchant payment facility.\n\nSource is available on GitHub_, as is the Changelog_.\n\n.. _CommWeb: https://www.commbank.com.au/business/merchant-services/accept-online-payments/commweb.html\n.. _GitHub: https://github.com/sjkingo/django-commweb\n.. _Changelog: https://github.com/sjkingo/django-commweb/blob/master/CHANGELOG.md\n\nSupported functions\n-------------------\n\n* Purchase (one-step transaction)\n\nDependencies\n------------\n\n* Python 2.7 or 3.4+\n* Django_ (tested with 1.5 through 1.8)\n* requests_\n\n.. _Django: https://www.djangoproject.com/\n.. _requests: http://docs.python-requests.org/en/latest/\n\nInstallation\n------------\n\n0. Install using pip::\n\n $ pip install django-commweb\n\n1. Add the 'commweb' app to the bottom of your INSTALLED_APPS setting::\n \n INSTALLED_APPS = (\n ...\n 'commweb',\n )\n\n2. Add the required settings (provided by the CommWeb Support Line) for the **test** merchant to your project's ``settings.py``::\n\n COMMWEB_ACCESS_CODE = 'FOO'\n COMMWEB_MERCHANT = 'TESTMERCHANT'\n\n3. Run the tests to ensure your merchant details are set up correctly by running a Django shell as follows::\n\n $ python manage.py shell\n >>> import unittest\n >>> from commweb.test.test_responses import TestResponses\n >>> suite = unittest.TestLoader().loadTestsFromTestCase(TestResponses)\n >>> unittest.TextTestRunner(verbosity=2).run(suite)\n test_approved (commweb.test.test_responses.TestResponses) ... ok\n test_card_expired (commweb.test.test_responses.TestResponses) ... ok\n test_declined_2 (commweb.test.test_responses.TestResponses) ... ok\n test_declined_E (commweb.test.test_responses.TestResponses) ... ok\n test_failed (commweb.test.test_responses.TestResponses) ... ok\n test_insufficient_credit (commweb.test.test_responses.TestResponses) ... ok\n test_no_reply (commweb.test.test_responses.TestResponses) ... ok\n\n ----------------------------------------------------------------------\n Ran 7 tests in 2.593s\n\n OK\n \n\nIntergration\n------------\n\nTwo options are available for intergrating django-commweb into your Django app.\n\nCartridge\n~~~~~~~~~\n\nA payment handler for Cartridge_ is provided by ``commweb.cartridge.cartridge_payment_handler``. You only need to set ``SHOP_HANDLER_PAYMENT`` in your project's settings file to activate this functionality::\n\n SHOP_HANDLER_PAYMENT = 'commweb.cartridge_hook.cartridge_payment_handler'\n\n.. _Cartridge: http://cartridge.jupo.org/overview.html\n\nUsing the API directly\n~~~~~~~~~~~~~~~~~~~~~~\n\nSee ``commweb.test.test_responses.py`` for an example of how to call the API directly. The API module is located at ``commweb.purchase``.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sjkingo/django-commweb", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-commweb", "package_url": "https://pypi.org/project/django-commweb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-commweb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sjkingo/django-commweb" }, "release_url": "https://pypi.org/project/django-commweb/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Django module for interfacing with the CommWeb merchant gateway.", "version": "0.3.3" }, "last_serial": 1943769, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "82ab6c43cc1d15435bc583e9cad9c369", "sha256": "750c7ce49461f125bd2e9a5100e600aa1f3b30424d2c0735f4dd1241d28b5088" }, "downloads": -1, "filename": "django-commweb-0.1.tar.gz", "has_sig": false, "md5_digest": "82ab6c43cc1d15435bc583e9cad9c369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4929, "upload_time": "2014-01-16T01:35:12", "url": "https://files.pythonhosted.org/packages/66/7e/8f1725f45be458379159b07b3729522cf33d40364f3b4867d172eddebb84/django-commweb-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7f633db42575f0d15e32e77d9e0e294d", "sha256": "62d2cffc1765921394b52c3ea8e268ab85081f4d72611c141f9d00ffa22c584a" }, "downloads": -1, "filename": "django-commweb-0.2.tar.gz", "has_sig": false, "md5_digest": "7f633db42575f0d15e32e77d9e0e294d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5203, "upload_time": "2014-01-16T03:29:58", "url": "https://files.pythonhosted.org/packages/a8/ae/886c589e6dc53d428f152f1c5ad7bbd3ffdf9995a89556faaaabee86b3e1/django-commweb-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "3f8d75aac21915b9ef2d24b84c3b25d2", "sha256": "3823dd4272c086570e1289253ded7fcfb68eb1344f654676036c058195e94757" }, "downloads": -1, "filename": "django_commweb-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "3f8d75aac21915b9ef2d24b84c3b25d2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7888, "upload_time": "2015-07-28T04:46:13", "url": "https://files.pythonhosted.org/packages/b5/81/41ae0058e888c72c8de5bb60f10dc848a40ee3b0e3901e8ffec85a0cae63/django_commweb-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac1553ce252c51eb7570918e09251ea7", "sha256": "27c1500f54dcd11b7cd2173357455814aa56408d15edcb9d817cbdfe5a9e2560" }, "downloads": -1, "filename": "django-commweb-0.3.tar.gz", "has_sig": false, "md5_digest": "ac1553ce252c51eb7570918e09251ea7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5407, "upload_time": "2015-07-28T04:46:08", "url": "https://files.pythonhosted.org/packages/d1/b3/74c9c6458eccf39cdd20f6cd71cc62d0ee7fd1aaf2c5799bf9dcfb959336/django-commweb-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b5fe73d6f761c58bd07a02b663f3affc", "sha256": "f97de3681c5df7962fb2b4f0274b1cfabba32ac0fdf23e331b24f66a6ac912b8" }, "downloads": -1, "filename": "django_commweb-0.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b5fe73d6f761c58bd07a02b663f3affc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7924, "upload_time": "2015-07-28T04:55:44", "url": "https://files.pythonhosted.org/packages/ac/c5/36c791e07706406276f7eb6c15aef145375b63221474fdebffe9aa64501f/django_commweb-0.3.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba17442c85375a69cdb33b8f5ca39c13", "sha256": "a6c63456f380da846bc83503d3567da0d6a1dcc9435b5424a98b78aa1f280b3d" }, "downloads": -1, "filename": "django-commweb-0.3.1.tar.gz", "has_sig": false, "md5_digest": "ba17442c85375a69cdb33b8f5ca39c13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5458, "upload_time": "2015-07-28T04:55:39", "url": "https://files.pythonhosted.org/packages/13/ae/202f7e58b2969951cc0272d7ce800c83408fe0a3344d87c9be629d5ec4d9/django-commweb-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "b9b35ca3581999db3376dda2a53a8ea8", "sha256": "504f4000ec942d095ecfabcfddc893594d0cca7a61144e2b67cd4ace1cc77569" }, "downloads": -1, "filename": "django_commweb-0.3.2-py2-none-any.whl", "has_sig": false, "md5_digest": "b9b35ca3581999db3376dda2a53a8ea8", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7923, "upload_time": "2015-08-10T02:10:42", "url": "https://files.pythonhosted.org/packages/10/bc/abfbaeafef0dc3c1997574fc86846628d27117bdf3f9bd3da9625f5c3228/django_commweb-0.3.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bf0dd2bbdf616efea168777a577a9eb", "sha256": "c5c8de614e7aeb3edc91f3ec3c4f25329b5afa4598217c00e43ac20171487253" }, "downloads": -1, "filename": "django-commweb-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6bf0dd2bbdf616efea168777a577a9eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5480, "upload_time": "2015-08-10T02:10:38", "url": "https://files.pythonhosted.org/packages/e4/5f/d646304a0f4dbefbafd0d7bb49aa699831423c8412f422c77c9fae184012/django-commweb-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "5577a048ec369ef4191bac2e4f9f6e14", "sha256": "2cbac9813c2902ed61ca42a8e918a56de7c0d9cce5afb61c860dcf13de9af53f" }, "downloads": -1, "filename": "django_commweb-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5577a048ec369ef4191bac2e4f9f6e14", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7929, "upload_time": "2016-02-07T02:48:44", "url": "https://files.pythonhosted.org/packages/12/3e/7b3f015ab83707a1de0ac78d28584316a3b2f937df19e02a790f70cef44a/django_commweb-0.3.3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5577a048ec369ef4191bac2e4f9f6e14", "sha256": "2cbac9813c2902ed61ca42a8e918a56de7c0d9cce5afb61c860dcf13de9af53f" }, "downloads": -1, "filename": "django_commweb-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5577a048ec369ef4191bac2e4f9f6e14", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7929, "upload_time": "2016-02-07T02:48:44", "url": "https://files.pythonhosted.org/packages/12/3e/7b3f015ab83707a1de0ac78d28584316a3b2f937df19e02a790f70cef44a/django_commweb-0.3.3-py2.py3-none-any.whl" } ] }