{ "info": { "author": "Sumit Chachra", "author_email": "chachra@tivix.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], "description": "================\ndjango-braintree\n================\n\n\nInstallation\n------------\n\n- Install django_braintree (ideally in your virtualenv!) using pip or simply getting a copy of the code and putting it in a directory in your codebase.\n\n ``pip install tivix-django-braintree``\n\n\n- Add ``django_braintree`` to your Django settings ``INSTALLED_APPS``::\n\n\tINSTALLED_APPS = [\n # ...\n \"django_braintree\",\n ]\n\n- Add these lines in settings.py file::\n\n BRAINTREE_MERCHANT = 'your_merchant_key'\n BRAINTREE_PUBLIC_KEY = 'your_public_key'\n BRAINTREE_PRIVATE_KEY = 'your_private_key'\n\n from braintree import Configuration, Environment\n\n Configuration.configure(\n Environment.Sandbox,\n BRAINTREE_MERCHANT,\n BRAINTREE_PUBLIC_KEY,\n BRAINTREE_PRIVATE_KEY\n )\n\n- Add url to urls.py::\n\n url(r'', include('django_braintree.urls')),\n\n- If you're using South for schema migrations run ``python manage.py migrate django_braintree`` or simply do a ``syncdb``.\n\n\nAdditional Information\n----------------------\n\n- Braintree uses default templates::\n\n django_braintree/payments_billing.html\n django_braintree/fragments/cc_form.html\n django_braintree/fragments/current_cc_info.html\n django_braintree/fragments/pay.html\n django_braintree/fragments/payments_billing.html\n\n- Braintree requires including the js from ``django_common`` that enables ajax forms etc. ``django_common`` is available at https://github.com/Tivix/django-common\n- If a template variable ``cc_form_post_url`` is passed to the template then this form posts to it, otherwise it posts to the url ``payments_billing``.\n- If a template variable ``cc_form_success_redirect_url`` is passed it takes user to that url then after form post has succeeded.\n- Braintree is set up to sandbox mode at default. To change this you must switch ``Environment.Sandbox`` to ``Environment.Production`` in settings file.\n\n\nRevision History\n----------------\n\n - v0.1.2 Changed urls.py to be compatible with Django 1.4+\n - v0.1.3 Changed urls.py to be compatible with Django 1.5+\n\n\nThis opensource app is brought to you by Tivix, Inc. ( http://tivix.com/ )", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tivix/django-braintree", "keywords": "django braintree payment", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "tivix-django-braintree", "package_url": "https://pypi.org/project/tivix-django-braintree/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tivix-django-braintree/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tivix/django-braintree" }, "release_url": "https://pypi.org/project/tivix-django-braintree/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "An easy way to integrate with Braintree Payment Solutions from Django.", "version": "0.1.3" }, "last_serial": 962600, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "26952817ee682e43d205c3290e33c16c", "sha256": "f0257e21a6c904ccf60ddbb8ab4d8e9d773f7be72def04c722296af9c3a3199b" }, "downloads": -1, "filename": "tivix-django-braintree-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26952817ee682e43d205c3290e33c16c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6173, "upload_time": "2012-08-28T17:45:52", "url": "https://files.pythonhosted.org/packages/1d/c4/ed7f778d5129c1ad162a80c27416074c9e822b12ba71987dad16837d4178/tivix-django-braintree-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2f77649b918a3b229c828fa079077489", "sha256": "ce8a078bdbaacca30ba721240fbb35cbb63bac74eb77667b677213d68d9fe54e" }, "downloads": -1, "filename": "tivix-django-braintree-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2f77649b918a3b229c828fa079077489", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6383, "upload_time": "2013-09-05T16:26:08", "url": "https://files.pythonhosted.org/packages/80/d9/71ea5cfa75ae734ab8c58eb5b0e42d39bbcc32333c9f3e5b3486c34a5876/tivix-django-braintree-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "8767905ea6c8cc85a10bcb9a458cc7fb", "sha256": "ca5b97e08d353eff2dc5c10348a97ab49cf3927eb2c6fc659e5ab1672c2dbd32" }, "downloads": -1, "filename": "tivix-django-braintree-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8767905ea6c8cc85a10bcb9a458cc7fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6359, "upload_time": "2014-01-07T13:40:48", "url": "https://files.pythonhosted.org/packages/51/8f/aeb4ccb35dfbe9e9e2202e07f9546733c83ac852e72ffbdac864ac9a3b7d/tivix-django-braintree-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8767905ea6c8cc85a10bcb9a458cc7fb", "sha256": "ca5b97e08d353eff2dc5c10348a97ab49cf3927eb2c6fc659e5ab1672c2dbd32" }, "downloads": -1, "filename": "tivix-django-braintree-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8767905ea6c8cc85a10bcb9a458cc7fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6359, "upload_time": "2014-01-07T13:40:48", "url": "https://files.pythonhosted.org/packages/51/8f/aeb4ccb35dfbe9e9e2202e07f9546733c83ac852e72ffbdac864ac9a3b7d/tivix-django-braintree-0.1.3.tar.gz" } ] }