My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 204: GoogleCheckoutProcessor patch needs to be applied to 0.6.1 branch
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2008
Type-Defect
Priority-Medium
Component-Pay-processors


Sign in to add a comment
 
Reported by check...@gnl.net, Jun 05, 2008
What steps will reproduce the problem?
1. Sandbox of Google checkout
2.
3.

What is the expected output? 
I want to go to google checkout

What do you see instead?
Error site of plone

What version of the product are you using? On what operating system?
getpaid 0.601
plone 3.1

Please provide any additional information below.
Time  	2008/06/05 23:52:07.052 GMT+2
User Name (User Id) 	testmanager (testmanager)
Request URL 	https://test.pi-space.eu/@@getpaid-checkout-wizard
Exception Type 	AttributeError
Exception Value     'GoogleCheckoutProcessor' object has no attribute 
'authorize'

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 333, in __call__
    * Module getpaid.wizard._wizard, line 38, in __call__
    * Module getpaid.wizard._wizard, line 28, in update
    * Module getpaid.wizard._wizard, line 251, in update
    * Module Products.PloneGetPaid._patch, line 44, in update
    * Module zope.formlib.form, line 750, in update
    * Module zope.formlib.form, line 594, in success
    * Module Products.PloneGetPaid.browser.checkout, line 595, in 
makePayment

AttributeError: 'GoogleCheckoutProcessor' object has no attribute 
'authorize'
 
Comment 1 by brian.gregson, Aug 08, 2008
Same error in Production mode of Google checkout, as well
Comment 3 by p...@german-network.com, Aug 11, 2008
Dear Brian,

check you have selected the shipment.

Pietro
Comment 4 by eric.c.j...@gmail.com, Aug 14, 2008
I've confirmed this same problem.  A description with debugging output is here:
http://groups.google.com/group/getpaid-dev/browse_frm/thread/171000073bf8d02d#
Pietro, in my instance, a shipment has been selected.  In fact, if I change the
payment processor back to "Testing", it calculates shipping and checks out
successfully, creating an order.
Comment 5 by michael.dunstan, Aug 14, 2008
I think this is result of not using the getpaid.googlecheckout overrides zcml. Make
sure your zope instance includes that zcml.

Also worth noting that there was a recent fix for getpaid.googlecheckout to match
changes to the core. I suspect that patch would need to be applied to
getpaid.googlecheckout found in PloneGetPaid 0.6.1. See
http://code.google.com/p/getpaid/source/detail?r=1672

Status: Fixed
Comment 6 by cjj.ifpeople, Aug 15, 2008
Can we please get an update to the 0.6.1 branch before closing and then creation of a
tagged from that for 0.6.2? 

Thanks
Summary: GoogleCheckoutProcessor patch needs to be applied to 0.6.1 branch
Status: Started
Comment 7 by michael.dunstan, Aug 15, 2008
Backport to 0.6.1 branch complete.

See http://code.google.com/p/getpaid/source/detail?r=1778

Note that you still need to configure your zope instance to include the
getpaid.googlecheckout overrides zcml.
Comment 8 by p...@german-network.com, Aug 16, 2008
Dear Michael,

How I configure overrides

Thank you in advance
Pietro
Comment 9 by michael.dunstan, Aug 20, 2008
If you are using buildout. Then just add the following to the zcml directive for your
instance:

  getpaid.googlecheckout-overrides

Otherwise you'll need to manually add a ZCML slug to your instance
etc/package-includes directory. There is a little more detail about this near the end
of http://plone.org/documentation/tutorial/buildout/packages-products-and-eggs
Comment 10 by cjj.ifpeople, Aug 22, 2008
Use of the product is documented in the readme. Non-buildout use isn't
documented...and couldn't find any in the plone.org documentation (which would be
appropriate place to find something general about it). That would be only thing would
be good to include for  clean wrapup of this issue. Given rest is done, will mark it
fixed now. 
Status: Fixed
Labels: Component-Pay-processors
Sign in to add a comment

Hosted by Google Code