bda.plone.payment


Namebda.plone.payment JSON
Version 2.0b1 PyPI version JSON
download
home_pageNone
SummaryPayment
upload_time2024-04-17 13:50:44
maintainerNone
docs_urlNone
authorBlueDynamics Alliance
requires_pythonNone
licenseGNU General Public Licence
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =================
bda.plone.payment
=================

Payment processors for ``bda.plone.shop``.


Installation
============

This package is part of the ``bda.plone.shop`` stack. Please refer to
``https://github.com/bluedynamics/bda.plone.shop`` for installation
instructions.


Available Processors
====================

Following payment processors are available


Cash
----

Useful when selling stuff which gets paid on-site.

All Data is sent via email.

Administrators exports orders or teller staff marks orders billed instantly
in backend.


Cash in advance
---------------

All Data is sent via email.

Administrators send an invoice by e-mail.

Administrators need to mark the order as billed manually after they received
the payment.


Cash on delivery
----------------

All Data is sent via email.

Administrators send an invoice by e-mail.

Administrators need to mark the order as billed manually after sending with
service providing cash on delivery.


Debit Order
-----------

Useful when customers are well known and permission to perform debit orders
is granted.

All Data is sent via email.

Administrators take action and mark orders salaried.


Invoice
-------

All Data is sent via email.

Administrators send an invoice by e-mail.

Administrators need to mark the order as billed manually after they received
the payment.


SIX-Payment
-----------

Redirect payment using ``https://www.saferpay.com``.

Order is marked automatically salaried if payment succeed.

Administrator needs to take action if payment failed.

**TODO**: move six payment processor to ``bda.plone.sixpayment``


Addon Payment processors
========================

Following addon payment processors are known:

* https://github.com/bluedynamics/bda.plone.stripe
* https://github.com/intk/bda.plone.ogonepayment
* https://github.com/intk/bda.plone.molliepayment
* https://github.com/intk/bda.plone.easyidealpayment
* https://github.com/espenmn/bda.plone.klarnainvoice
* https://github.com/espenmn/bda.plone.klarnapayment
* https://github.com/espenmn/bda.plone.dibspayment

If you have implemented another payment processors or know other
implementations than the listed one, please let us know.


Providing a payment processor
=============================

XXX


Customize existing payment processors
=====================================

To de-activate a payment processor unconfigure it using `z3c.unconfigure`_:

.. code-block:: xml

    <include package="z3c.unconfigure" file="meta.zcml"/>
    <include package="bda.plone.payment"/>
    <unconfigure>
      <adapter
        name="six_payment"
        factory="bda.plone.payment.six_payment.SixPayment" />
    </unconfigure>

.. _`z3c.unconfigure`: https://pypi.python.org/pypi/z3c.unconfigure


Create translations
===================

::
    $ cd src/bda/plone/payment/
    $ ./i18n.sh


Contributors
============

- Robert Niederreiter (Author)
- Harald Frießnegger
- Peter Holzer

Changelog
=========

2.0b1 (2024-04-17)
------------------

- Introduce ``IPayment.clear_session`` flag.
  [rnix]

- Introduce ``IPayment.clear_session`` flag.
  [rnix]

- No longer support for z3c.autoinclude.
  [jensens]

- Migrate SIX Saferpay to JSON API.
  [rnix]

- Code style black.
  [jensens]

- Turn hard depenency indirection on bda.plone.shop into soft dependency with failover.
  [jensens]

- Avoid circular import (testing only).
  [jensens]

- Python 2/3 compatibility
  [agitator]

- Update version and classifiers - 2.x targets Plone 5.1/5.2 without Archetypes
  [agitator]


1.0a1 (unreleased)
------------------

- Replace unittest2 by unittest
  [llisa123]

- Rename invoice payment related views to avoid conflicts with bda.plone.orders
  invoice view.
  [rnix]

- Fix shop admin email address lookup in sic payment.
  [rnix]

- Fix: Provide plone.protect authenticator token in invoice payment process
  [jensens]

- Plone 5 update
  [rnix, agitator]


0.5
---

- Add ``bda.plone.payment.cash_on_delivery.ICashOnDeliverySettings``.
  [rnix]

- Add "Cash on delivery" payment.
  [rnix]

- Add "Cash in advance" payment.
  [rnix]


0.4
---

- Remove ``available`` and ``default`` attributes from
  ``bda.plone.payment.cash.Cash``,
  ``bda.plone.payment.debit_order.DebitOrder``,
  ``bda.plone.payment.invoice.Invoice`` and
  ``bda.plone.payment.six_payment.SixPayment`` since they are provided by base
  class now. **Note** - Remove class patches for ``availability`` and
  ``default`` settings from your integration packages and and use controlpanel
  settings in ``bda.plone.shop``.
  [rnix]

- Add missing ``pid`` attribute to ``bda.plone.payment.Payment``.
  [rnix]

- Implement ``available`` and ``default`` properties on
  ``bda.plone.payment.Payment`` using settings from
  ``bda.plone.payment.interfaces.IPaymentSettings``.
  [rnix]

- Introduce ``bda.plone.payment.interfaces.IPaymentSettings``.
  [rnix]


0.3
---

- Remove ``bda.plone.payment.six_payment.ISixPaymentData`` interface. Use
  ``bda.plone.payment.interfaces.IPaymentData`` instead.
  [rnix]


0.2
---

- show "emails sent" status message when displaying the
  "thanks for your order" page of the invoce payment processor.
  in addition, show the order id
  [fRiSi]

- fix lookup for default IPayment adapter in case no default adapter
  is registered
  [fRiSi]


0.1
---

- initial work
  [rnix]

License
=======

Copyright (c) 2012-2019, BlueDynamics Alliance, Austria
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this 
  list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this 
  list of conditions and the following disclaimer in the documentation and/or 
  other materials provided with the distribution.
* Neither the name of the BlueDynamics Alliance nor the names of its 
  contributors may be used to endorse or promote products derived from this 
  software without specific prior written permission.
      
THIS SOFTWARE IS PROVIDED BY BlueDynamics Alliance ``AS IS`` AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL BlueDynamics Alliance BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bda.plone.payment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "BlueDynamics Alliance",
    "author_email": "dev@bluedynamics.com",
    "download_url": "https://files.pythonhosted.org/packages/eb/49/00649b1cceb576c33e9399166b409f97229785cf2012835f26019a3c5c1a/bda.plone.payment-2.0b1.tar.gz",
    "platform": null,
    "description": "=================\nbda.plone.payment\n=================\n\nPayment processors for ``bda.plone.shop``.\n\n\nInstallation\n============\n\nThis package is part of the ``bda.plone.shop`` stack. Please refer to\n``https://github.com/bluedynamics/bda.plone.shop`` for installation\ninstructions.\n\n\nAvailable Processors\n====================\n\nFollowing payment processors are available\n\n\nCash\n----\n\nUseful when selling stuff which gets paid on-site.\n\nAll Data is sent via email.\n\nAdministrators exports orders or teller staff marks orders billed instantly\nin backend.\n\n\nCash in advance\n---------------\n\nAll Data is sent via email.\n\nAdministrators send an invoice by e-mail.\n\nAdministrators need to mark the order as billed manually after they received\nthe payment.\n\n\nCash on delivery\n----------------\n\nAll Data is sent via email.\n\nAdministrators send an invoice by e-mail.\n\nAdministrators need to mark the order as billed manually after sending with\nservice providing cash on delivery.\n\n\nDebit Order\n-----------\n\nUseful when customers are well known and permission to perform debit orders\nis granted.\n\nAll Data is sent via email.\n\nAdministrators take action and mark orders salaried.\n\n\nInvoice\n-------\n\nAll Data is sent via email.\n\nAdministrators send an invoice by e-mail.\n\nAdministrators need to mark the order as billed manually after they received\nthe payment.\n\n\nSIX-Payment\n-----------\n\nRedirect payment using ``https://www.saferpay.com``.\n\nOrder is marked automatically salaried if payment succeed.\n\nAdministrator needs to take action if payment failed.\n\n**TODO**: move six payment processor to ``bda.plone.sixpayment``\n\n\nAddon Payment processors\n========================\n\nFollowing addon payment processors are known:\n\n* https://github.com/bluedynamics/bda.plone.stripe\n* https://github.com/intk/bda.plone.ogonepayment\n* https://github.com/intk/bda.plone.molliepayment\n* https://github.com/intk/bda.plone.easyidealpayment\n* https://github.com/espenmn/bda.plone.klarnainvoice\n* https://github.com/espenmn/bda.plone.klarnapayment\n* https://github.com/espenmn/bda.plone.dibspayment\n\nIf you have implemented another payment processors or know other\nimplementations than the listed one, please let us know.\n\n\nProviding a payment processor\n=============================\n\nXXX\n\n\nCustomize existing payment processors\n=====================================\n\nTo de-activate a payment processor unconfigure it using `z3c.unconfigure`_:\n\n.. code-block:: xml\n\n    <include package=\"z3c.unconfigure\" file=\"meta.zcml\"/>\n    <include package=\"bda.plone.payment\"/>\n    <unconfigure>\n      <adapter\n        name=\"six_payment\"\n        factory=\"bda.plone.payment.six_payment.SixPayment\" />\n    </unconfigure>\n\n.. _`z3c.unconfigure`: https://pypi.python.org/pypi/z3c.unconfigure\n\n\nCreate translations\n===================\n\n::\n    $ cd src/bda/plone/payment/\n    $ ./i18n.sh\n\n\nContributors\n============\n\n- Robert Niederreiter (Author)\n- Harald Frie\u00dfnegger\n- Peter Holzer\n\nChangelog\n=========\n\n2.0b1 (2024-04-17)\n------------------\n\n- Introduce ``IPayment.clear_session`` flag.\n  [rnix]\n\n- Introduce ``IPayment.clear_session`` flag.\n  [rnix]\n\n- No longer support for z3c.autoinclude.\n  [jensens]\n\n- Migrate SIX Saferpay to JSON API.\n  [rnix]\n\n- Code style black.\n  [jensens]\n\n- Turn hard depenency indirection on bda.plone.shop into soft dependency with failover.\n  [jensens]\n\n- Avoid circular import (testing only).\n  [jensens]\n\n- Python 2/3 compatibility\n  [agitator]\n\n- Update version and classifiers - 2.x targets Plone 5.1/5.2 without Archetypes\n  [agitator]\n\n\n1.0a1 (unreleased)\n------------------\n\n- Replace unittest2 by unittest\n  [llisa123]\n\n- Rename invoice payment related views to avoid conflicts with bda.plone.orders\n  invoice view.\n  [rnix]\n\n- Fix shop admin email address lookup in sic payment.\n  [rnix]\n\n- Fix: Provide plone.protect authenticator token in invoice payment process\n  [jensens]\n\n- Plone 5 update\n  [rnix, agitator]\n\n\n0.5\n---\n\n- Add ``bda.plone.payment.cash_on_delivery.ICashOnDeliverySettings``.\n  [rnix]\n\n- Add \"Cash on delivery\" payment.\n  [rnix]\n\n- Add \"Cash in advance\" payment.\n  [rnix]\n\n\n0.4\n---\n\n- Remove ``available`` and ``default`` attributes from\n  ``bda.plone.payment.cash.Cash``,\n  ``bda.plone.payment.debit_order.DebitOrder``,\n  ``bda.plone.payment.invoice.Invoice`` and\n  ``bda.plone.payment.six_payment.SixPayment`` since they are provided by base\n  class now. **Note** - Remove class patches for ``availability`` and\n  ``default`` settings from your integration packages and and use controlpanel\n  settings in ``bda.plone.shop``.\n  [rnix]\n\n- Add missing ``pid`` attribute to ``bda.plone.payment.Payment``.\n  [rnix]\n\n- Implement ``available`` and ``default`` properties on\n  ``bda.plone.payment.Payment`` using settings from\n  ``bda.plone.payment.interfaces.IPaymentSettings``.\n  [rnix]\n\n- Introduce ``bda.plone.payment.interfaces.IPaymentSettings``.\n  [rnix]\n\n\n0.3\n---\n\n- Remove ``bda.plone.payment.six_payment.ISixPaymentData`` interface. Use\n  ``bda.plone.payment.interfaces.IPaymentData`` instead.\n  [rnix]\n\n\n0.2\n---\n\n- show \"emails sent\" status message when displaying the\n  \"thanks for your order\" page of the invoce payment processor.\n  in addition, show the order id\n  [fRiSi]\n\n- fix lookup for default IPayment adapter in case no default adapter\n  is registered\n  [fRiSi]\n\n\n0.1\n---\n\n- initial work\n  [rnix]\n\nLicense\n=======\n\nCopyright (c) 2012-2019, BlueDynamics Alliance, Austria\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this \n  list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, this \n  list of conditions and the following disclaimer in the documentation and/or \n  other materials provided with the distribution.\n* Neither the name of the BlueDynamics Alliance nor the names of its \n  contributors may be used to endorse or promote products derived from this \n  software without specific prior written permission.\n      \nTHIS SOFTWARE IS PROVIDED BY BlueDynamics Alliance ``AS IS`` AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BlueDynamics Alliance BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
    "bugtrack_url": null,
    "license": "GNU General Public Licence",
    "summary": "Payment",
    "version": "2.0b1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "945f69d8153b6698721b34b63462e9367dedd8e3af5f95e583af6096274e6662",
                "md5": "f805b0e8228089a515ce3af511e0d049",
                "sha256": "87ee1d38d78657f11385c90b7eb8622bee0b9ae43c5e16c5192958041d82f5fe"
            },
            "downloads": -1,
            "filename": "bda.plone.payment-2.0b1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f805b0e8228089a515ce3af511e0d049",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 50107,
            "upload_time": "2024-04-17T13:50:42",
            "upload_time_iso_8601": "2024-04-17T13:50:42.887002Z",
            "url": "https://files.pythonhosted.org/packages/94/5f/69d8153b6698721b34b63462e9367dedd8e3af5f95e583af6096274e6662/bda.plone.payment-2.0b1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb4900649b1cceb576c33e9399166b409f97229785cf2012835f26019a3c5c1a",
                "md5": "8fa08702d8bb208ee7ad58185fba827c",
                "sha256": "df8610b393d23e663dd830ddb44ededb340e6166986e90e9e25a0d8b34b95717"
            },
            "downloads": -1,
            "filename": "bda.plone.payment-2.0b1.tar.gz",
            "has_sig": false,
            "md5_digest": "8fa08702d8bb208ee7ad58185fba827c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 30674,
            "upload_time": "2024-04-17T13:50:44",
            "upload_time_iso_8601": "2024-04-17T13:50:44.845092Z",
            "url": "https://files.pythonhosted.org/packages/eb/49/00649b1cceb576c33e9399166b409f97229785cf2012835f26019a3c5c1a/bda.plone.payment-2.0b1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-17 13:50:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bda.plone.payment"
}
        
Elapsed time: 0.82110s