hi there

i've created a new payment processor that allows to handle the payment 
offline.

the readme explains why this processor was needed and what it does
https://getpaid.googlecode.com/svn/getpaid.emailcheckout/trunk/README.txt


to get this processor working w/o too much overriding i adapted some parts 
of Products.PloneGetPaid.

i'd ask you to review the changes and tell me whether they are okay or we 
need to do it another way ;-)

here's the link to the changeset:
http://code.google.com/p/getpaid/source/detail?r=3642



currently the checkout-review-pay step asks for credit card data.
however, there are processors (at least emailcheckout) which do not require 
this data.

my processor customizes the DefaultFormSchemas['payment'] with an empty 
interface.
(https://getpaid.googlecode.com/svn/getpaid.emailcheckout/trunk/src/getpaid/emailcheckout/checkout.py)


To support an empty IUserPaymentInformation i patched the template so the 
fieldset does not get displayed in case there are no widgets.
https://getpaid.googlecode.com/svn/Products.PloneGetPaid/trunk/Products/PloneGetPaid/browser/templates/checkout-
review-pay.pt

additionally CheckoutReviewAndPay needs to be changed to show the make-
payment button in case there
are no inputwidgets.
the makePayment action was adapted so it does not fail when setting the 
attributes (such as last4 card digits)
collected by the (now empty) form to the order.
alternatively we could put code that sets additional order attributes into 
separate method so this can be easily overwritten by third party packages


thanks for your feedback!
  harald

-- 
Webmeisterei GmbH - Büro für Netzfragen
Tel: +43 5572 908877,  Fax: +43 5572 908877-66
Steinebach 18, A-6850 Dornbirn
http://www.webmeisterei.com

-- 
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | 
http://code.google.com/p/getpaid (code and issue tracker)
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en

Reply via email to