I am busy working on a payment processor for PloneGetPaid that overrides the
checkout
process. I am having some trouble with setUpWidgets though. When I
proceed to the checkout page, I get the following error:

2009-02-13 10:00:21 ERROR Zope.SiteErrorLog
http://localhost:8080/GetPaid/@@getpaid-checkout-wizard
Traceback (innermost last):
 Module ZPublisher.Publish, line 119, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 42, in call_object
 Module Products.PloneGetPaid.browser.checkout, line 352, in __call__
 Module getpaid.wizard._wizard, line 38, in __call__
 Module getpaid.wizard._wizard, line 28, in update
 Module getpaid.wizard._wizard, line 263, in update
 Module Products.PloneGetPaid._patch, line 44, in update
 Module zope.formlib.form, line 732, in update
 Module getpaid.vcs.browser.checkout, line 21, in setUpWidgets
 Module getpaid.wizard._wizard, line 94, in adapters
 Module getpaid.wizard._wizard, line 128, in _extractDataManagers
TypeError: unsupported operand type(s) for +=: 'FormFields' and 'list'

The line causing the trouble is:

adapters = self.wizard.data_manager.adapters

Does anyone know why this could be causing the problem?

The full processor can be found at:
http://www.opennetworks.co.za/getpaid.vcs.tar.gz

Thanks guys
-- 
View this message in context: 
http://n2.nabble.com/Issue-with-setUpWidgets-tp2320304p2320304.html
Sent from the Product Developers mailing list archive at Nabble.com.


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to