{ "info": { "author": "Patrick Altman", "author_email": "paltman@eldarion.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "===============\ndjango-coinbase\n===============\n\na Django app for receiving payment notifications from Coinbase\n\n.. image:: https://travis-ci.org/eldarion/django-coinbase.png\n :target: https://travis-ci.org/eldarion/django-coinbase\n\n\nGetting Started\n---------------\n\nThis is a fairly simple app. It's three parts:\n\n1. Webhook View\n2. Model to store the webhook received data\n3. Signal emitted on reciept/validation/storage of webhook data\n\nFirst off, you'll want to add `django-coinbase` to your requirements.txt and\npip install it in your virtualenv. Next you'll want to add `coinbase` to your\n`INSTALLED_APPS` setting of your `settings.py` file. Lastly, you'll want to\nadd a urls include to your main `urls.py` file for `coinbase.urls`.\n\nThere is a signal that you can setup a receiver for in your own project to do\nsomething with the callback data::\n\n @receiver(order_received)\n def handle_order_received(sender, order, **kwargs):\n pass # do something with the order object, like enable a feature based on order.custom contents\n\nYou will want to set two different settings:\n\nCOINBASE_API_KEY\n^^^^^^^^^^^^^^^^\n\nThis is the API Key found at: https://coinbase.com/account/integrations\n\n\nCOINBASE_SHARED_SECRET\n^^^^^^^^^^^^^^^^^^^^^^\n\nThis is just a random key you make up and store in your settings and add to the\nquerystring of the Instant Payment Notifications field (https://coinbase.com/merchant_settings).\n\nThis is the URL of your site + wherever you rooted the urls include + `/cb/`\nfollowed with the querystring parameter `secret` followed by the value of this\nsettings.\n\nFor example::\n\n # urls.py\n url(r\"^payments/\", include(\"coinbase.urls\"))\n \n # settings.py\n COINBASE_SHARED_SECRET = \"mysecretsauce\"\n \n >>> Site.objects.get_current().domain\n example.com\n \n # Your url would be\n http://example.com/payments/cb/?secret=mysecretsauce\n\n\n\nDevelopment\n-----------\n\nTo run test suite::\n\n $ pip install Django django-nose django-jsonfield mock requests\n $ python runtests.py\n\n\nCommercial Support\n------------------\n\nThis app, and many others like it, have been built in support of many of Eldarion's\nown sites, and sites of our clients. We would love to help you on your next project\nso get in touch by dropping us a note at info@eldarion.com.", "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/eldarion/django-coinbase", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-coinbase", "package_url": "https://pypi.org/project/django-coinbase/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-coinbase/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/eldarion/django-coinbase" }, "release_url": "https://pypi.org/project/django-coinbase/0.2/", "requires_dist": null, "requires_python": null, "summary": "a Django app for receiving payment notifications from Coinbase", "version": "0.2" }, "last_serial": 789327, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cf796a0b2ac1deae4b8f5bf6895c842c", "sha256": "3b6867da6f42d25ef9867dc5e2d73e5854101697bf174f8c1e1bef60e8b8d37d" }, "downloads": -1, "filename": "django-coinbase-0.1.tar.gz", "has_sig": false, "md5_digest": "cf796a0b2ac1deae4b8f5bf6895c842c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5604, "upload_time": "2013-05-11T04:41:13", "url": "https://files.pythonhosted.org/packages/06/93/2e1c03c984d5bc3e56d09b9ef1692d1fc724555460a6abd1fc787c33b3bc/django-coinbase-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b0a1acebbeb14544aa74b98c406b17c6", "sha256": "c78d5387e2f36f7f8ac3f8d7bac600595fb1e2081528cf7f4b93a19fdd7df5bf" }, "downloads": -1, "filename": "django-coinbase-0.2.tar.gz", "has_sig": false, "md5_digest": "b0a1acebbeb14544aa74b98c406b17c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5640, "upload_time": "2013-06-17T13:36:08", "url": "https://files.pythonhosted.org/packages/20/8e/ac3ed4b30cfa9fa60ecd15dac34a9439d5c7e7ab9f696a62d200ec363f10/django-coinbase-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b0a1acebbeb14544aa74b98c406b17c6", "sha256": "c78d5387e2f36f7f8ac3f8d7bac600595fb1e2081528cf7f4b93a19fdd7df5bf" }, "downloads": -1, "filename": "django-coinbase-0.2.tar.gz", "has_sig": false, "md5_digest": "b0a1acebbeb14544aa74b98c406b17c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5640, "upload_time": "2013-06-17T13:36:08", "url": "https://files.pythonhosted.org/packages/20/8e/ac3ed4b30cfa9fa60ecd15dac34a9439d5c7e7ab9f696a62d200ec363f10/django-coinbase-0.2.tar.gz" } ] }