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 at http://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-party-product
>> > 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]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to