Unless I'm wholly mistake I believe I've managed to get Google checkout working on a theme I've been trying to design. Took me about 15mins to sort out...
Here's how; I downloaded an old version of zenphoto from the archives (v1.2 from Oct 2008) and found the Google Checkout Plugin (GoogleCheckout.php) as made by mammlouk and sbillard. I placed it into the current build of zp's extensions folder and activated it using this in the required pages:
`<?php if (function_exists('googleCheckout')) {<br />
printGoogleCartWidget();
googleCheckout(NULL, true);
} ?>`
Next input Google Merchant ID into the plugin settings page. I tested it out - knowing it wouldn't work but to see the error reported. Up came a google error page...
Logging into the account it's linked to I could extract the error log and then find out how to correct it. Turns out it's
a problem accepting non-digitally signed carts. So, by turning off this feature the checkout plugin works and sends an order to the secure checkout and allows completion of said order...
If you create the setup on a local server it will not retain checkout cart contents from one page to the next BUT online it does appear to work as it should.
Still working out the niggles but that seems to have done the trick on how to get it working, I know there were a few around here debating between paypal and google checkout so maybe this helps.
The one caveat is turning off the digitally signed cart acceptance - unless there's a clever way of adding some sort of certificate to the plugin? (if that's what it's after).
Comments
http://www.zenphoto.org/2009/11/googlecheckout/
Feel free to take its maintance over and we update the link of the entry.
I'll look into the details of 'digital signing' to see what's what, might be beyond me but I'll find that out when I get there