معرفی شرکت ها


django-oscar-pagseguro-0.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Pagseguro integration for django-oscar
ویژگی مقدار
سیستم عامل -
نام فایل django-oscar-pagseguro-0.0.4
نام django-oscar-pagseguro
نسخه کتابخانه 0.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Danilo Shiga
ایمیل نویسنده daniloshiga@gmail.com
آدرس صفحه اصلی https://github.com/daneoshiga/django-oscar-pagseguro
آدرس اینترنتی https://pypi.org/project/django-oscar-pagseguro/
مجوز The MIT License (MIT) Copyright (c) 2015 Danilo Shiga Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================== Pagseguro package for django-oscar ================================== This package provides integration between django-oscar_ and Pagseguro_ .. _django-oscar: https://github.com/tangentlabs/django-oscar .. _Pagseguro: http://pagseguro.com.br/ It's only on early development It depends on django_pagseguro2_ library .. _django_pagseguro2: https://github.com/allisson/django-pagseguro2/ It works by adding the Pagseguro_ API call to the handle_successful_order method, so it finalizes the order before redirecting the user to Pagseguro_ because it needs to use the order number as reference for the order. Pagseguro_ assumes that the order is completed when it's called, which is different from django-oscar, where it's possible to use the success of the payment as a confirmation for order placement. The payment status are sent afterwards and dealt with using a view provided by django_pagseguro2_ library, the signals are then used for order status changing in signals.py Usage ----- - Add the pagseguro package to the INSTALLED_APPS:: INSTALLED_APPS = [ ... pagseguro, ] - Add the following url to the urls.py of the django-oscar project:: url(r'^', include('oscar_pagseguro.urls')), - And have a oscar order status pipeline that matches Pagseguro one:: OSCAR_ORDER_STATUS_PIPELINE = { 'Aguardando pagamento': ('Paga', u'Em analíse', 'Cancelada'), u'Em analíse': ('Paga', 'Cancelada'), 'Paga': ('Em disputa', 'Devolvida', u'Disponível', 'Cancelada'), u'Disponível': ('Devolvida', 'Em disputa'), 'Em disputa': (u'Disponível', 'Devolvida', 'Paga'), 'Devolvida': (), 'Cancelada': (), } - Configure Pagseguro with fix redirection page (Página de redirecionamento fixa) para: /checkout/thank-you/ - Configure Pagseguro with transaction notification (Notificação de transação), to the following URL: /retorno/pagseguro/ TODO ---- Drop the status pipeline matching by making the status used by the django_pagseguro2_ configurable


نحوه نصب


نصب پکیج whl django-oscar-pagseguro-0.0.4:

    pip install django-oscar-pagseguro-0.0.4.whl


نصب پکیج tar.gz django-oscar-pagseguro-0.0.4:

    pip install django-oscar-pagseguro-0.0.4.tar.gz