I made a fix for this issue last week and checked it in, but I don't have permissions to bundle it. The problem was that the event was getting triggered before the shopping cart was attached to the order. If someone can bundle a new getpaid.paypal, or give me permission to do it we can push this out.
-Rob On Mon, Aug 17, 2009 at 8:27 AM, Daniel Jowett <[email protected]>wrote: > Hi folks, > I've just rebuilt my Plone with getpaid's override.zcml for Paypal. > When I click the checkout button I get this error, rather than the Paypal > checkout screen. > > Any ideas? > > It happens on this line: > order_contents = u'\n'.join([u' '.join((str(cart_item.quantity), > cart_item.name, > u"@%0.2f" % (cart_item.cost,), > 'total: US$%0.2f' % > (cart_item.cost*cart_item.quantity,), > )) for cart_item in order.shopping_cart > .values()]) > > so order.shopping_cart appears to be None - which ain't good, 'cos I'm sure > I added items to it.... > > Thanks for looking! > Daniel > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
