And a belated but hearty thanks to Rob - much appreciated!!
On Wed, Aug 19, 2009 at 3:56 PM, Rob LaRubbio <[email protected]> wrote: > That looks like it is the same error. I've bundled a new version of > getpaid (1.9) that should have a fix for this. Please grab it and let me > know how it works for you. > > -Rob > > > On Wed, Aug 19, 2009 at 8:54 AM, R4inGuy <[email protected]> wrote: > >> >> Experiencing a related error and also need Paypal processor. >> >> Problem: user adds an item to cart, then click the "Checkout" button. >> The following is returned. It happens regardless of whether a user is >> logged in or not (anonymous). Note, all e-mail notifications are >> disabled. >> >> 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.Five.browser.metaconfigure, line 417, in __call__ >> Module Shared.DC.Scripts.Bindings, line 313, in __call__ >> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec >> Module Products.PageTemplates.PageTemplateFile, line 129, in _exec >> Module Products.PageTemplates.PageTemplate, line 98, in pt_render >> Module zope.pagetemplate.pagetemplate, line 117, in pt_render >> Module zope.tal.talinterpreter, line 271, in __call__ >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 891, in do_useMacro >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 536, in do_optTag_tal >> Module zope.tal.talinterpreter, line 521, in do_optTag >> Module zope.tal.talinterpreter, line 516, in no_tag >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 957, in do_defineSlot >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 536, in do_optTag_tal >> Module zope.tal.talinterpreter, line 521, in do_optTag >> Module zope.tal.talinterpreter, line 516, in no_tag >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 861, in do_defineMacro >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 957, in do_defineSlot >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 536, in do_optTag_tal >> Module zope.tal.talinterpreter, line 521, in do_optTag >> Module zope.tal.talinterpreter, line 516, in no_tag >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >> Module zope.tal.talinterpreter, line 516, in no_tag >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 949, in do_defineSlot >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 534, in do_optTag_tal >> Module zope.tal.talinterpreter, line 516, in no_tag >> Module zope.tal.talinterpreter, line 346, in interpret >> Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal >> Module Products.PageTemplates.Expressions, line 223, in >> evaluateStructure >> Module zope.tales.tales, line 696, in evaluate >> - URL: index >> - Line 10, Column 4 >> - Expression: <PathExpr standard:'view/getButton'> >> - Names: >> {'container': <PloneSite at /plone_sites/5>, >> 'context': <PloneSite at /plone_sites/5>, >> 'default': <object object at 0xb7c92528>, >> >> 'here': <PloneSite at /plone_sites/5>, >> 'loop': {}, >> 'nothing': None, >> 'options': {'args': (<Products.Five.metaclass.SimpleViewClass >> from /home/eric/Plone-3.1/zinstance/eggs/getpaid.paypal-0.4.3- >> py2.4.egg/getpaid/paypal/browser/templates/paypalbutton.pt object at >> 0xdf186ac>,)}, >> >> 'repeat': <Products.PageTemplates.Expressions.SafeMapping >> object at 0xdf744ec>, >> >> 'request': <HTTPRequest, URL=http://rainwaterservices.com/@@getpaid- >> checkout-wizard<http://rainwaterservices.com/@@getpaid-%0Acheckout-wizard> >> >, >> 'root': <Application at >, >> 'template': <ImplicitAcquirerWrapper object at 0xd61c16c>, >> >> 'traverse_subpath': [], >> 'user': <PloneUser 'bpg'>, >> >> 'view': <Products.Five.metaclass.SimpleViewClass from /home/ >> eric/Plone-3.1/zinstance/eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/ >> paypal/browser/templates/paypalbutton.pt object at 0xdf186ac>, >> >> 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper >> object at 0xdf7464c>} >> >> Module zope.tales.expressions, line 217, in __call__ >> Module Products.PageTemplates.Expressions, line 163, in _eval >> Module Products.PageTemplates.Expressions, line 125, in render >> Module getpaid.paypal.browser.paypalbutton, line 34, in getButton >> Module hurry.workflow.workflow, line 238, in fireTransition >> Module zope.event, line 23, in notify >> Module zope.component.event, line 26, in dispatch >> Module zope.component._api, line 130, in subscribers >> Module zope.component.registry, line 290, in subscribers >> Module zope.interface.adapter, line 535, in subscribers >> Module zope.component.event, line 33, in objectEventNotify >> Module zope.component._api, line 130, in subscribers >> Module zope.component.registry, line 290, in subscribers >> Module zope.interface.adapter, line 535, in subscribers >> Module Products.PloneGetPaid.notifications, line 100, in >> sendNotification >> AttributeError: 'NoneType' object has no attribute 'values' >> >> >> On Aug 18, 2:37 pm, Marc Dubrowski <[email protected]> wrote: >> > I also have the same problem. But unfortunately, i need the paypal >> > processor. >> > >> > Any clue for a workaround before the patch is applied ? >> > >> > Thanks >> > >> > Marc >> > >> > On 8 août, 17:03, Katharine Chartrand <[email protected]> >> > wrote: >> > >> > > FWIW I had the same problem. >> > >> > > I disabled the paypal processor in the buildout. (I wasn't actually >> > > using it) >> > >> > > The problem stopped. >> > >> > > >KNC< >> > >> > > On Aug 6, 5:50 pm, Matt Barkau <[email protected]> wrote: >> > >> > > > Thanks Rob!! >> > >> > > > Here are the eggs which buildout delivered to my doorstep: >> > > > eggs/getpaid.wizard-0.3-py2.4.egg >> > > > eggs/getpaid.paypal-0.4.3-py2.4.egg >> > > > eggs/getpaid.recipe.release-1.7-py2.4.egg >> > > > eggs/getpaid.nullpayment-0.3.1-py2.4.egg >> > > > eggs/getpaid.recipe.release-1.8-py2.4.egg >> > > > eggs/getpaid.core-0.7.5-py2.4.egg >> > >> > > > Email notifications have all been "Do Not Send" for all of these >> tests (I >> > > > think that's default). >> > >> > > > On Thu, Aug 6, 2009 at 3:36 PM, Rob LaRubbio <[email protected]> >> wrote: >> > > > > This looks liek a bug in the paypal processor. It is firing off >> the >> > > > > 'created' transition for an order before it attaches the shopping >> cart to >> > > > > that order. You can work around it by turning off email >> notifications. >> > > > > I'll make a fix, but I don't have permission to bundle a new >> > > > > getpaid.paypal. Lucie can you either do that or give me the mojo? >> > >> > > > > -Rob >> > >> > > > > On Thu, Aug 6, 2009 at 10:55 AM, Rob LaRubbio <[email protected]> >> wrote: >> > >> > > > >> I'm going to try and reproduce this locally. I think I was the >> last one >> > > > >> messing around in that code, and the paypal processor functions a >> little >> > > > >> differently then the oters. >> > >> > > > >> Matt, can you let me know what version of the getpaid pacakges >> you are >> > > > >> using? Specifically I care about any getpaid.* eggs and >> > > > >> Products.PloneGetPaid >> > >> > > > >> On Thu, Aug 6, 2009 at 9:44 AM, Lucie Lejard < >> [email protected]>wrote: >> > >> > > > >>> It doesn't seem like a paypal issue in this case. Maybe a bug in >> the >> > > > >>> getpaid code? >> > > > >>> You might want to look at what is happening in >> > > > >>> Products.PloneGetPaid.notifications, line 100, in >> sendNotification. >> > > > >>> Lucie >> > > > >>> -- >> > > > >>> six feet up, inc. | "Nowhere to go but open source" >> > > > >>> Direct Line +1 (317) 861-5948 x605 >> > > > >>>http://www.sixfeetup.com | Zope/Plone Custom Development + >> Hosting >> > >> > > > >>> On Thu, Aug 6, 2009 at 12:54 AM, Matt Barkau<[email protected]> >> wrote: >> > > > >>> > Thanks, that explanation matches what I saw. >> > > > >>> > So I added getpaid.paypal-overrides to the zcml section, but >> got this >> > > > >>> error >> > > > >>> > when trying to checkout the cart: >> > >> > > > >>> > Module Products.PloneGetPaid.notifications, line 100, in >> > > > >>> sendNotification >> > >> > > > >>> > AttributeError: 'NoneType' object has no attribute 'values' >> > > > >>> > Full traceback athttp://pastie.org/573576 >> > >> > > > >>> > Then per the other filename: >> > > > >>> > find * -name *zcml | grep paypal >> > >> > > > >>> >> eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/paypal/browser/overrides.zcml >> > > > >>> > >> eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/paypal/overrides.zcml >> > > > >>> > >> eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/paypal/ipn/configure.zcml >> > > > >>> > >> eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/paypal/configure.zcml >> > > > >>> > I added getpaid.paypal.browser-overrides >> > > > >>> > and got the same error (after stop, buildout, start, of >> course). >> > >> > > > >>> > Then, per >> > >> > > > >>> >> http://plone.org/documentation/tutorial/buildout/installing-a-third-p... >> > > > >>> > I tried adding getpaid.paypal >> > > > >>> > and got the same error (after stop, buildout, start). >> > >> > > > >>> > I've attached the buildout.cfg with these 3 lines added. >> > >> > > > >>> > Thanks much! >> > >> > > > >>> > On Wed, Aug 5, 2009 at 9:51 AM, Rob LaRubbio < >> [email protected]> >> > > > >>> wrote: >> > >> > > > >>> >> With getpaud.paypal you have to add a zcml override to your >> buildout, >> > > > >>> So >> > > > >>> >> add getpaid.paypal-override to your instance zcml section. >> (At least >> > > > >>> I >> > > > >>> >> think that is what you need to add. Check the egg for the >> actual file >> > > > >>> name >> > > > >>> >> if that doesn't work) >> > >> > > > >>> >> What that does is allow the paypal processor to override the >> normal >> > > > >>> >> getpaid checkout process with a new page that shows the >> paypal button >> > > > >>> and >> > > > >>> >> redirects the user over to paypal. >> > >> > > > >>> >> -Rob >> > >> > > > >>> >> On Tue, Aug 4, 2009 at 10:19 PM, Matt Barkau < >> [email protected]> >> > > > >>> wrote: >> > >> > > > >>> >>> I'm testing with a vanilla Plone 3.2.1 buildout (cfg >> attached), >> > > > >>> following >> > > > >>> >>> (AFAIK) the getpaid recipe: >> > > > >>> >>>http://pypi.python.org/pypi/getpaid.recipe.release/ >> > >> > > > >>> >>> In the code at: >> > > > >>> >>> eggs/getpaid.paypal-0.4.3-py2.4.egg/getpaid/paypal/paypal.py >> > > > >>> >>> I see a reference to this button image: >> > > > >>> >>>http://www.paypal.com/en_US/i/btn/x-click-but01.gif >> > > > >>> >>> but on this plone instance's shopping cart page, I only see >> two >> > > > >>> generic >> > > > >>> >>> plone buttons, called "Continue Shipping" and "Checkout". >> > > > >>> >>> Also, all checkouts fail with "We are sorry but your credit >> card was >> > > > >>> >>> declined. Please click here to try your transaction again." >> > >> > > > >>> >>> Is getpaid.paypal supposed to show the paypal graphic >> instead of the >> > > > >>> >>> generic buttons (similar to the way getpaid.googlecheckout >> does)? If >> > > > >>> so, do >> > > > >>> >>> you see a problem in my buildout.cfg which may be preventing >> this? >> > > > >>> >>> Thanks much! >> >> > > --~--~---------~--~----~------------~-------~--~----~ > 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]<getpaid-dev%[email protected]> > For more options, visit this group at > http://groups.google.com/group/getpaid-dev?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- 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
