RajatShukla / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

GoogleCheckoutProcessor patch needs to be applied to 0.6.1 branch #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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'

Original issue reported on code.google.com by check...@gnl.net on 5 Jun 2008 at 9:38

GoogleCodeExporter commented 9 years ago
Same error in Production mode of Google checkout, as well

Original comment by brian.gr...@gmail.com on 8 Aug 2008 at 2:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Dear Brian,

check you have selected the shipment.

Pietro

Original comment by p...@german-network.com on 11 Aug 2008 at 8:52

GoogleCodeExporter commented 9 years ago
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.

Original comment by eric.c.j...@gmail.com on 14 Aug 2008 at 10:09

GoogleCodeExporter commented 9 years ago
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

Original comment by michael....@gmail.com on 14 Aug 2008 at 11:34

GoogleCodeExporter commented 9 years ago
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

Original comment by cjj.ifpe...@gmail.com on 15 Aug 2008 at 2:34

GoogleCodeExporter commented 9 years ago
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.

Original comment by michael....@gmail.com on 15 Aug 2008 at 10:31

GoogleCodeExporter commented 9 years ago
Dear Michael,

How I configure overrides

Thank you in advance
Pietro

Original comment by p...@german-network.com on 16 Aug 2008 at 11:49

GoogleCodeExporter commented 9 years ago
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

Original comment by michael....@gmail.com on 20 Aug 2008 at 10:58

GoogleCodeExporter commented 9 years ago
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. 

Original comment by cjj.ifpe...@gmail.com on 22 Aug 2008 at 6:11