Thanks for the help. I made the changes as suggested. Everything
worked except that the form fields didn't seem to get passed. I had a
look at the GetPaid checkout.py file, and changed my checkout.py
accordingly. Now, however, when running, I get the following error:

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 260, in update
  Module getpaid.wizard._wizard, line 227, in transitionTo
  Module getpaid.wizard._wizard, line 66, in update
  Module getpaid.wizard._wizard, line 158, in _extractRequestVariables
TypeError: iteration over non-sequence

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

Again, thanks
Hannes

On Feb 13, 2:38 pm, Kapil Thangavelu <[email protected]> wrote:
> the error message suggests, that on one of your checkout steps, your
> form_fields attribute on that step's view attr is a list, instead of being a
> zope.formlib.FormFields( ) instance. if you want an empty form_fields, just
> don't pass args to the FormFields constructor.
>
> looking over your source change browser.checkout.VcsCheckoutPayment..
> form_fields = [] to form_fields = form.FormFields()
>
> hth,
>
> kapil
>
> On Fri, Feb 13, 2009 at 3:20 AM, hannesc <[email protected]> wrote:
>
> > I am busy working on a payment processor 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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to