معرفی شرکت ها


django-plans-payments-1.1.3


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Integration between django-plans and django-payments.
ویژگی مقدار
سیستم عامل -
نام فایل django-plans-payments-1.1.3
نام django-plans-payments
نسخه کتابخانه 1.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Petr Dlouhý
ایمیل نویسنده petr.dlouhy@email.cz
آدرس صفحه اصلی https://github.com/PetrDlouhy/django-plans-payments
آدرس اینترنتی https://pypi.org/project/django-plans-payments/
مجوز MIT
============================= Django plans payments ============================= .. image:: https://badge.fury.io/py/django-plans-payments.svg :target: https://badge.fury.io/py/django-plans-payments .. image:: https://travis-ci.org/PetrDlouhy/django-plans-payments.svg?branch=master :target: https://travis-ci.org/PetrDlouhy/django-plans-payments .. image:: https://codecov.io/gh/PetrDlouhy/django-plans-payments/branch/master/graph/badge.svg :target: https://codecov.io/gh/PetrDlouhy/django-plans-payments Almost automatic integration between `django-plans <https://github.com/django-getpaid/django-plans>`_ and `django-payments <https://github.com/mirumee/django-payments>`_. This will add payment buttons to the order page and automatically confirm the `Order` after the payment. Documentation ------------- The full documentation is at https://django-plans-payments.readthedocs.io. Quickstart ---------- Install and configure ``django-plans`` and ``django-payments`` apps. Capture mode is not yet supported, so ``PAYMENT_VARINANTS`` with ``'capture': False`` will not get confirmed. Install Django plans payments:: pip install django-plans-payments Add it to your ``INSTALLED_APPS``, before the ``plans``: .. code-block:: python INSTALLED_APPS = ( ... 'related_admin', 'plans_payments', 'plans', ... ) Add Django ``plans_payments`` to the URL patterns: .. code-block:: python urlpatterns = [ ... url(r'^plans-payments', include('plans_payments.urls')), ... ] Set ``django-plans`` settings and set model to: .. code-block:: python PAYMENT_MODEL = 'plans_payments.Payment' Customer IP address ------------------- Customer IP address is stored in Payment model and used for some payment providers (i.e. PayU). For security reasons `django-plans-payments` does acquire the IP only from ``request`` ``REMOTE_ADDR`` parameter. If you are behind proxy, you will need to setup some mechanism to populate this variable from ``HTTP_X_FORWARDED_FOR`` parameter. The suggested solution is to use `django-httpforwardedfor <https://github.com/PaesslerAG/django-httpxforwardedfor>`_ or `django-xff <https://github.com/ferrix/xff/>`_ application for that. Running Tests ------------- Does the code actually work? :: source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox Credits ------- Tools used in rendering this package: * Cookiecutter_ * `cookiecutter-djangopackage`_ .. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage History ------- 1.1.3 (2023-03-30) ++++++++++++++++++ * fix Payment description (forgotten '%s') 1.1.2 (2023-03-29) ++++++++++++++++++ * reword Payment description to ommit word "Subscribtion" which might raise warnings for banks/card providers 1.1.1 (2023-01-27) ++++++++++++++++++ * correction release, include wheel update, correctly rebase to master 1.1.0 (2023-01-27) ++++++++++++++++++ * Fix transaction fee double counting 1.0.1 (2022-12-09) ++++++++++++++++++ * Fix migrations 1.0.0 (2022-12-08) ++++++++++++++++++ * Recurring payments functionality 0.2.0 (2018-08-05) ++++++++++++++++++ * Payment process without capturing should work * Automatic buttons generation 0.1.0 (2018-07-23) ++++++++++++++++++ * First release on PyPI.


نحوه نصب


نصب پکیج whl django-plans-payments-1.1.3:

    pip install django-plans-payments-1.1.3.whl


نصب پکیج tar.gz django-plans-payments-1.1.3:

    pip install django-plans-payments-1.1.3.tar.gz