{ "info": { "author": "Benoit Clennett-Sirois", "author_email": "benoit@clennett.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "\"\"\"\r\nSatchmoBeanstream module currently only support Purchase transactions.\r\n\r\nWe're not using LiveSettings for storing Credentials, because Livesettings should be disabled in production anyways, so store the Beanstream credentials in your SETTINGS.py file instead, with the following syntax:\r\n\r\nBEANSTREAM_CREDENTIALS = {\r\n 'username' : 'MY_USER',\r\n 'password' : 'MY_PASS',\r\n 'merchant_id' : 'MY_MERCHANT_ID'\r\n }\r\n\r\nHow to install:\r\npip install SatchmoBeanstream\r\n\r\nAdd it to installed apps in your settings file.:\r\n\r\n\"\"\"\r\nINSTALLED_APPS = (\r\n #....\r\n 'payment',\r\n 'payment.modules.beanstream',\r\n #....\r\n)\r\n\"\"\"\r\n\r\nAdd the settings to livesettings:\r\n** Note, you can use the livesettings DB storage if you wish, but I recommend using 'DB': False and setting the livesettings manually in the settings.py file instead.\r\n** NOTE2, important! 'LIVE' option does nothing right now (in the satchmobeanstream module anyways...), so if you specify production credentials in BEANSTREAM_CREDENTIALS, it will start charging real money, if you use test credentials, it will do test transactions.\r\n\"\"\"\r\n\r\nLIVESETTINGS_OPTIONS = {\r\n 1 : { # Your site ID\r\n #....\r\n 'SETTINGS' : {\r\n 'PAYMENT_BEANSTREAM' : {\r\n 'CREDITCHOICES' : '[\\\"Visa\\\", \\\"Mastercard\\\"]',\r\n 'LIVE': 'True',\r\n 'ORDER_EMAIL_OWNER': 'True',\r\n 'ORDER_EMAIL_EXTRA': 'myemail@derp.com',\r\n },\r\n },\t \r\n },\r\n}\r\n\r\n\"\"\"\r\nTesting:\r\n\r\nCreate a test_settings.py and specify your test credentials from beanstream in there, then:\r\n\r\n./manage.py test payment.modules.beanstream --settings=test_settings --nologcapture -s\r\n\r\nNote: You may get an error from suds that look like this:\r\n\r\n File \"/site-packages/suds/sax/document.py\", line 48, in str\r\n s.append(self.root().str())\r\nAttributeError: 'NoneType' object has no attribute 'str'\r\nLogged from file core.py, line 73\r\n\r\nDon't worry about it, i'm still not sure why, but the SOAP transaction DOES happen if the test passes.\r\n\"\"\"", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/benoitcsirois/satchmobeanstream", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "SatchmoBeanstream", "package_url": "https://pypi.org/project/SatchmoBeanstream/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SatchmoBeanstream/", "project_urls": { "Homepage": "http://bitbucket.org/benoitcsirois/satchmobeanstream" }, "release_url": "https://pypi.org/project/SatchmoBeanstream/0.2/", "requires_dist": null, "requires_python": null, "summary": "Satchmo Beanstream Payment Plugin", "version": "0.2" }, "last_serial": 785603, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "8b8a10168d8beda028147ca54bfcebf6", "sha256": "82b5750509d10bb3c2f907f91fb385c0e5ebb8272f87275ca8c729e651abf813" }, "downloads": -1, "filename": "SatchmoBeanstream-0.2.tar.gz", "has_sig": false, "md5_digest": "8b8a10168d8beda028147ca54bfcebf6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6923, "upload_time": "2011-12-15T16:57:06", "url": "https://files.pythonhosted.org/packages/95/d3/4faad46efc01a0ebad8402d6f1d438bbff8446998e61ab2fca708cc8ad37/SatchmoBeanstream-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b8a10168d8beda028147ca54bfcebf6", "sha256": "82b5750509d10bb3c2f907f91fb385c0e5ebb8272f87275ca8c729e651abf813" }, "downloads": -1, "filename": "SatchmoBeanstream-0.2.tar.gz", "has_sig": false, "md5_digest": "8b8a10168d8beda028147ca54bfcebf6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6923, "upload_time": "2011-12-15T16:57:06", "url": "https://files.pythonhosted.org/packages/95/d3/4faad46efc01a0ebad8402d6f1d438bbff8446998e61ab2fca708cc8ad37/SatchmoBeanstream-0.2.tar.gz" } ] }