Hi,
Just for the FYI to the community... While integrating Google, after spending almost 2 days trying to get it to work, I finally rolled out my own pure java version of the Google checkout successfully. There are problems with the simple method implementation of GoogleCheckout component in Ofbiz 1. Some of the classes have changed and hence the method signatures, this highlights a problem with using heavy XML like ofbiz does - causing things to break and not get noticed. e.g. GoogleCheckout services expect ShoppingCart as parameters but getCartObject() returns WebShoppingCart which causes error while calling googleCHEckout services - there are a couple of the similar issues 2. widget.verbose needs to be set to false, otherwise the comments in the google checkout request sent to google fails 3. If you are using Ofbiz inside Tomcat like me - instead of the other way around. There is a classloader issue causing error while calling googlecheckout services using dispatcher.sync() - it works in tomcat inside ofbiz configuration Hope this helps |
you will probably find all the specialpurpose modules are not update
with the trunk. They are maintain but individuals. All is in flux in the trunk If you wish to contribute making thing work please follow the http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices Ritesh Trivedi sent the following on 8/1/2008 11:02 AM: > Hi, > > Just for the FYI to the community... > > While integrating Google, after spending almost 2 days trying to get it to > work, I finally rolled out my own pure java version of the Google checkout > successfully. > > There are problems with the simple method implementation of GoogleCheckout > component in Ofbiz > > 1. Some of the classes have changed and hence the method signatures, this > highlights a problem with using heavy XML like ofbiz does - causing things > to break and not get noticed. e.g. GoogleCheckout services expect > ShoppingCart as parameters but getCartObject() returns WebShoppingCart which > causes error while calling googleCHEckout services - there are a couple of > the similar issues > 2. widget.verbose needs to be set to false, otherwise the comments in the > google checkout request sent to google fails > 3. If you are using Ofbiz inside Tomcat like me - instead of the other way > around. There is a classloader issue causing error while calling > googlecheckout services using dispatcher.sync() - it works in tomcat inside > ofbiz configuration > > Hope this helps |
In reply to this post by Ritesh Trivedi
Ritesh, Just wanted to say thanks for your efforts, and I was on the verge of doing googlecheckout in a pure java implementation. Programming in xml/bsh is tought! I would love to see your efforts incorporated back into the trunk. Phillip -----Original Message----- From: "Ritesh Trivedi" <[hidden email]> Sent: Friday, August 1, 2008 2:02pm To: [hidden email] Subject: GoogleCheckout current implementation not compatible with the latest in SVN Hi, Just for the FYI to the community... While integrating Google, after spending almost 2 days trying to get it to work, I finally rolled out my own pure java version of the Google checkout successfully. There are problems with the simple method implementation of GoogleCheckout component in Ofbiz 1. Some of the classes have changed and hence the method signatures, this highlights a problem with using heavy XML like ofbiz does - causing things to break and not get noticed. e.g. GoogleCheckout services expect ShoppingCart as parameters but getCartObject() returns WebShoppingCart which causes error while calling googleCHEckout services - there are a couple of the similar issues 2. widget.verbose needs to be set to false, otherwise the comments in the google checkout request sent to google fails 3. If you are using Ofbiz inside Tomcat like me - instead of the other way around. There is a classloader issue causing error while calling googlecheckout services using dispatcher.sync() - it works in tomcat inside ofbiz configuration Hope this helps -- View this message in context: http://www.nabble.com/GoogleCheckout-current-implementation-not-compatible-with-the-latest-in-SVN-tp18779834p18779834.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
Free forum by Nabble | Edit this page |