Modified:
getpaid.paymentprocessors/trunk/README.txt
getpaid.paymentprocessors/trunk/docs/HISTORY.txt
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/directives.py
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/interfaces.py
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/registry.py
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/tests/base.py
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/vocabularies.py
getpaid.paymentprocessors/trunk/setup.py
Log:
Updated README and copyrights
Modified: getpaid.paymentprocessors/trunk/README.txt
==============================================================================
--- getpaid.paymentprocessors/trunk/README.txt (original)
+++ getpaid.paymentprocessors/trunk/README.txt Mon Jun 29 06:17:27 2009
@@ -1,10 +1,8 @@
-This package adds multiple payment processors support for Plone GetPaid
shops.
-
Purpose
-------
-This package provides generic payment processor registration methods.
Though the code itself is without Plone dependencies,
-this documentation covers Plone also.
+This package provides generic payment processor registration methods.
Though the code itself is free from Plone dependencies,
+this documentation covers Plone too.
Preface
-------
@@ -22,25 +20,33 @@
Installation
------------
-Install https://getpaid.googlecode.com/svn/getpaid.paymentprocessors/trunk
+Install GetPaid from trunk.
-Use branch
https://getpaid.googlecode.com/svn/Products.PloneGetPaid/branches/multiplepaymentprocessors
as Products.PloneGetPaid::
+Use branch following development branches. Note that PayPal changes are in
trunk::
cd src
rm -rf Products.PloneGetPaid
rm -rf getpaid.nullpayment
+ rm -rf getpaid.paypal
svn co
https://getpaid.googlecode.com/svn/Products.PloneGetPaid/branches/multiplepaymentprocessors
Products.PloneGetPaid
svn co
https://getpaid.googlecode.com/svn/getpaid.nullpayment/branches/multiplepaymentprocessors
getpaid.nullpayment
-
-Add ''getpaid.paymentprocessers'' egg to your''buildout.cfg''.
-
-Add ''getpaid.paymentprocessers'' zcml to your''buildout.cfg''.
+ svn co https://getpaid.googlecode.com/svn/getpaid.paypal/trunk
getpaid.paypal
+
+Add *getpaid.paymentprocessers* to your *316.cfg* eggs and develop-eggs
sections.
Administration
--------------
-Checkout wizard's payment method selection step is rendered only if the
site has two or more active payment processors.
-Payment processors must be manually actived from the site setup after
installation.
+Active payment processors must be enabled in *Site setup* -> *GetPaid* ->
*Payment processor settings*.
+
+You can manage individual payment processor settings from the same screen.
+
+Checkout wizard steps
+---------------------
+
+A checkout wizard contains a step "checkout-payment-method" which allows
the user to select
+the wanted payment method. This step is only available if the site has
more than
+one active payment processors.
Creating your own payment processor
-----------------------------------
@@ -75,6 +81,10 @@
to maintain backwards compatibility. You can do it using zcml condition::
<include zcml:condition="installed getpaid.paymentprocessors"
file="paymentprocessors.zcml" />
+
+You can also maintain backward compatiblity overrides with not-installed
directive::
+
+ <include zcml:condition="not-installed getpaid.paymentprocessors"
package=".browser" file="overrides.zcml" />
paymentprocessors:registerProcessor attributes
@@ -122,24 +132,21 @@
See
https://getpaid.googlecode.com/svn/getpaid.nullpayment/branches/multiplepaymentprocessors/src/getpaid/nullpayment/paymentprocessors.zcml
for more info.
-Checkout
---------
-
-A checkout wizard contains a step "checkout-payment-method" which allows
the user to select the wanted payment method.
-
-
Testing
-------
-Tests required Plone are in
Products.PloneGetPaid.tests.test_payment_processors. It is recommended to
take a look on
-Products.PloneGetPaid.tests.test_payment_processors.test_payment how to
programmatically play around with the checkout wizard.
+Units tests can be found in
*Products.PloneGetPaid.tests.test_payment_processors*.
-Non-plone related functionality is tested in
getpaid.paymentprocessors.tests. This mainly involves testing ZCML validy.
+It is recommended to take a look these how to programmatically play around
with the checkout wizard and
+test your custom payment methods automatically.
+
+Non-plone related functionality is tested in
getpaid.paymentprocessors.tests.
+This mainly involves testing ZCML validy.
Guidelines for payment processor plug-in authors
------------------------------------------------
-- See getpaid.paypal how to include all related browser/ module
extensions, including necessary image files
+- See getpaid.paypal how to include all related browser/ module
extensions, including necessary media files
- In your payment processor README include short, but detailed,
instructions
@@ -203,3 +210,6 @@
- There is a bug that wizard.data_manager.payment_method.payment_processor
pulls out i18n_name for some reason.
Unless fixed payment processor name must be i18n_name.
+
+- How/when asyncronous processors should create Order, toggle workflow
states and delete cart?
+
Modified: getpaid.paymentprocessors/trunk/docs/HISTORY.txt
==============================================================================
--- getpaid.paymentprocessors/trunk/docs/HISTORY.txt (original)
+++ getpaid.paymentprocessors/trunk/docs/HISTORY.txt Mon Jun 29 06:17:27
2009
@@ -1,8 +1,9 @@
Changelog
=========
-0.1 - Unreleased
+0.1
----------------
* Initial release
+
Modified:
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/directives.py
==============================================================================
--- getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/directives.py
(original)
+++ getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/directives.py
Mon Jun 29 06:17:27 2009
@@ -2,8 +2,11 @@
"""
-__author__ = "Mikko Ohtamaa <mikko....@twinapex.fi>"
+__author__ = "Mikko Ohtamaa <mikko....@twinapex.com>
http://www.twinapex.com"
__docformat__ = "epytext"
+__license__ = "GPL"
+__copyright__ = "2009 Twinapex Research"
+
import os
from inspect import ismethod
Modified:
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/interfaces.py
==============================================================================
--- getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/interfaces.py
(original)
+++ getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/interfaces.py
Mon Jun 29 06:17:27 2009
@@ -4,6 +4,12 @@
from zope.i18nmessageid import MessageFactory
_ = MessageFactory('getpaid.paymentprocessors')
+__author__ = "Mikko Ohtamaa <mikko....@twinapex.com>
http://www.twinapex.com"
+__docformat__ = "epytext"
+__license__ = "GPL"
+__copyright__ = "2009 Twinapex Research"
+
+
class IPaymentMethodInformation(Interface):
""" Store information which payment method user selects on the
checkout wizard.
Modified:
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/registry.py
==============================================================================
--- getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/registry.py
(original)
+++ getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/registry.py
Mon Jun 29 06:17:27 2009
@@ -6,8 +6,11 @@
"""
-__author__ = "Mikko Ohtamaa <mikko....@twinapex.fi>"
+__author__ = "Mikko Ohtamaa <mikko....@twinapex.com>
http://www.twinapex.com"
__docformat__ = "epytext"
+__license__ = "GPL"
+__copyright__ = "2009 Twinapex Research"
+
from zope.component import queryMultiAdapter
Modified:
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/tests/base.py
==============================================================================
--- getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/tests/base.py
(original)
+++ getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/tests/base.py
Mon Jun 29 06:17:27 2009
@@ -5,6 +5,11 @@
"""
import sys, os
+__author__ = "Mikko Ohtamaa <mikko....@twinapex.com>
http://www.twinapex.com"
+__docformat__ = "epytext"
+__license__ = "GPL"
+__copyright__ = "2009 Twinapex Research"
+
from Testing import ZopeTestCase as ztc
from Products.Five import zcml
from Products.Five import fiveconfigure
Modified:
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/vocabularies.py
==============================================================================
---
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/vocabularies.py
(original)
+++
getpaid.paymentprocessors/trunk/getpaid/paymentprocessors/vocabularies.py
Mon Jun 29 06:17:27 2009
@@ -8,9 +8,10 @@
"""
-
-__author__ = "Mikko Ohtamaa <mikko....@twinapex.fi>"
+__author__ = "Mikko Ohtamaa <mikko....@twinapex.com>
http://www.twinapex.com"
__docformat__ = "epytext"
+__license__ = "GPL"
+__copyright__ = "2009 Twinapex Research"
from zope import component
from zope.interface import implements
Modified: getpaid.paymentprocessors/trunk/setup.py
==============================================================================
--- getpaid.paymentprocessors/trunk/setup.py (original)
+++ getpaid.paymentprocessors/trunk/setup.py Mon Jun 29 06:17:27 2009
@@ -14,10 +14,10 @@
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
- author='Mikko Ohtamaa',
- author_email='mikko....@twinapex.fi',
- url='',
- license='GPL',
+ author='Getpaid Community',
+ author_email='getpa...@googlegroups.com',
+ url='http://www.plonegetpaid.com',
+ license='BSD',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['getpaid'],
include_package_data=True,