{ "info": { "author": "Colin Powell", "author_email": "colin@onecardinal.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "Django Shop Stripe plugin\n============================\n\nA plugin to use stripe with django-shop.\n\nhttp://www.stripe.com\n\nInstallation\n--------------\n\nAdd `shop_stripe` to your INSTALLED_APPS variable in your settings.py file.\n\nNext, add a few configuration variables in the same file:\n\n SHOP_STRIPE_PUBLISHABLE_KEY='my-publishable-key'\n SHOP_STRIPE_PRIVATE_KEY='my-super-secret-private-key'\n \n SHOP_PAYMENT_BACKENDS = (\n ...\n 'shop_stripe.offsite_stripe.StripeBackend',\n ...\n )\n\nThat's it!\n\nUsage\n-------\n\nThanks to Stripe.com's wonderful jscript features, it's painfully simple to integrate.\n\nThe shop_stripe plugin uses all the default django-shop templates, and the most important for our purposes is:\n\n shop_stripe/payment.html\n\nHere's an example to handle Stripe test input:\n\n {% extends \"base.html\" %}\n \n {% block extra-head %}\n {% include \"_stripe_head.html\" %}\n {% endblock %}\n \n {% block content %}\n

Enter your payment information

\n
\n
\n

\n \n \n

\n

\n \n \n

\n

\n \n \n / \n \n

\n \n
\n {% endblock %}\n\nNote that we include _stripe_head.html, that's the heavy lifting template that just pulls in the Stripe jscript.\n\nConclusion\n-----------\n\nThat's really it for now. The bulk of our logic is the offsite_stripe.py file. \n\nTODOs\n------\n\n1. Allow user-configurable fields to validate. django-shop-stripe currently doesn't even check the billing address of a user (which is becoming increasingly passe with credit cards anyhow...)\n2. Provide better, functional forms for the library. Do you know how to render id-less form field inputs with Django forms? Stripe requires that you have no IDs on inputs, which means the form data NEVER hits your server and you stay clean with the law.", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/powellc/django-shop-stripe/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/powellc/django-shop-stripe", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-shop-stripe", "package_url": "https://pypi.org/project/django-shop-stripe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-shop-stripe/", "project_urls": { "Download": "http://github.com/powellc/django-shop-stripe/downloads", "Homepage": "http://github.com/powellc/django-shop-stripe" }, "release_url": "https://pypi.org/project/django-shop-stripe/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Let us use stripe for payments with django-shop.", "version": "0.1.2" }, "last_serial": 895400, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d2dd684fc9199bb63e7b8cf2e86fe414", "sha256": "9f7c154a921ac5c7b921f63feeece42b1367147e8bc02d8399630602f97f3f3c" }, "downloads": -1, "filename": "django-shop-stripe-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d2dd684fc9199bb63e7b8cf2e86fe414", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3230, "upload_time": "2011-12-02T18:13:43", "url": "https://files.pythonhosted.org/packages/1c/7e/8513523037afcd84a60072de3983dd55d2878fd14a26b682b0a69cd2471a/django-shop-stripe-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "13849ad956edd575857eca65598abb42", "sha256": "f10fb0d4dae9ef990d4bd60cc4846b87a419dafb6eb23ce418c56b8433d5a073" }, "downloads": -1, "filename": "django-shop-stripe-0.1.1.tar.gz", "has_sig": false, "md5_digest": "13849ad956edd575857eca65598abb42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3277, "upload_time": "2011-12-04T15:29:02", "url": "https://files.pythonhosted.org/packages/da/f0/f01b36504c298215e293b57980385cd730c4aa152990da146c16fd533f9b/django-shop-stripe-0.1.1.tar.gz" } ], "0.1.2": [] }, "urls": [] }