{ "info": { "author": "Danilo Shiga", "author_email": "daniloshiga@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Other/Nonlisted Topic" ], "description": "==================================\nPagseguro package for django-oscar\n==================================\n\nThis package provides integration between django-oscar_ and Pagseguro_\n\n.. _django-oscar: https://github.com/tangentlabs/django-oscar\n.. _Pagseguro: http://pagseguro.com.br/\n\nIt's only on early development\n\nIt depends on django_pagseguro2_ library\n\n.. _django_pagseguro2: https://github.com/allisson/django-pagseguro2/\n\nIt works by adding the Pagseguro_ API call to the handle_successful_order\nmethod, so it finalizes the order before redirecting the user to Pagseguro_\nbecause it needs to use the order number as reference for the order.\n\nPagseguro_ assumes that the order is completed when it's called, which is\ndifferent from django-oscar, where it's possible to use the success of the\npayment as a confirmation for order placement.\n\nThe payment status are sent afterwards and dealt with using a view provided by\ndjango_pagseguro2_ library, the signals are then used for order status changing\nin signals.py\n\nUsage\n-----\n\n- Add the pagseguro package to the INSTALLED_APPS::\n\n INSTALLED_APPS = [\n ...\n pagseguro,\n ]\n\n- Add the following url to the urls.py of the django-oscar project::\n\n url(r'^', include('oscar_pagseguro.urls')),\n\n- And have a oscar order status pipeline that matches Pagseguro one::\n\n\n OSCAR_ORDER_STATUS_PIPELINE = {\n 'Aguardando pagamento': ('Paga', u'Em anal\u00edse', 'Cancelada'),\n u'Em anal\u00edse': ('Paga', 'Cancelada'),\n 'Paga': ('Em disputa', 'Devolvida', u'Dispon\u00edvel', 'Cancelada'),\n u'Dispon\u00edvel': ('Devolvida', 'Em disputa'),\n 'Em disputa': (u'Dispon\u00edvel', 'Devolvida', 'Paga'),\n 'Devolvida': (),\n 'Cancelada': (),\n }\n\n- Configure Pagseguro with fix redirection page (P\u00e1gina de redirecionamento\nfixa) para:\n\n /checkout/thank-you/\n\n- Configure Pagseguro with transaction notification (Notifica\u00e7\u00e3o de transa\u00e7\u00e3o),\nto the following URL:\n\n /retorno/pagseguro/\n\nTODO\n----\n\nDrop the status pipeline matching by making the status used by the\ndjango_pagseguro2_ configurable", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/daneoshiga/django-oscar-pagseguro/tarball/0.0.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/daneoshiga/django-oscar-pagseguro", "keywords": "Payment,Pagseguro,Oscar", "license": "The MIT License (MIT)\n\nCopyright (c) 2015 Danilo Shiga\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "django-oscar-pagseguro", "package_url": "https://pypi.org/project/django-oscar-pagseguro/", "platform": "linux", "project_url": "https://pypi.org/project/django-oscar-pagseguro/", "project_urls": { "Download": "https://github.com/daneoshiga/django-oscar-pagseguro/tarball/0.0.4", "Homepage": "https://github.com/daneoshiga/django-oscar-pagseguro" }, "release_url": "https://pypi.org/project/django-oscar-pagseguro/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "Pagseguro integration for django-oscar", "version": "0.0.4" }, "last_serial": 1692224, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "885278e383817e9eeaecd8cb1e452cbe", "sha256": "89bc641f6a85be9faf93f4ea3fc646ccdef091fdd7a863b443d4608da3aae75b" }, "downloads": -1, "filename": "django-oscar-pagseguro-0.0.4.tar.gz", "has_sig": false, "md5_digest": "885278e383817e9eeaecd8cb1e452cbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4290, "upload_time": "2015-07-17T00:45:23", "url": "https://files.pythonhosted.org/packages/db/e1/34e868765dd3341e0b58613b8d4b1294c6e4a7e5f17762d95a3206f7f196/django-oscar-pagseguro-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "885278e383817e9eeaecd8cb1e452cbe", "sha256": "89bc641f6a85be9faf93f4ea3fc646ccdef091fdd7a863b443d4608da3aae75b" }, "downloads": -1, "filename": "django-oscar-pagseguro-0.0.4.tar.gz", "has_sig": false, "md5_digest": "885278e383817e9eeaecd8cb1e452cbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4290, "upload_time": "2015-07-17T00:45:23", "url": "https://files.pythonhosted.org/packages/db/e1/34e868765dd3341e0b58613b8d4b1294c6e4a7e5f17762d95a3206f7f196/django-oscar-pagseguro-0.0.4.tar.gz" } ] }