I will now eat my own words.
This is how google checkout works and it's really quite good but you have to configure it very carefully.

Right here goes then first off go here:
http://<YOUR_WEBSITE>/googlecheckout/responsehandler.php
and check if you get this type of error message
Cannot open /var/www/html/googlecheckout/logs/response_error.log file. Logs are not writable, set them to 777
So you set them to read write or owned by the webserver.
What happens is that you click on that Google button and it sends you to google with a call back to get the shipping rates that you have specified/ installed. When you set up google checkout then you put in default values for your service in case the call back fails, and this is why I thought it was a flat rate. So if set up correctly it goes.
- Click on button
- go to google
- google calls your shop for the shipping rates available for the weight of the item
- the rates appears in the select
if the call home fails, then it reverts to default values you have set up.
To try and diagnose the problem is a bit "tricky" visiting the googleresponse page above is helpful in that it if you have correct permission to write to your log files, then it presents you with a password access box ! This is the first time that I have seen true two way communication between a payment module and shipping rates.
So UK people,
- install "big royal mail"
- then install google checkout,
- then copy googlecheckout/shipping_methods_uk.php to overwrite shipping_methods.php.
- then visit
http://<YOUR_WEBSITE>/googlecheckout/responsehandler.php
to see if you get errors (and remember on a test site google may still not be able to communicate with your shop). - put in default values for the UK shipping modules in case communication does fail in the google payment module.
- remove all the USA shipping options at the bottom which is irrelevant by setting GoogleCheckout Carrier Calculated Shipping to false
That should then work (paypal donations to
[email protected] for having worked this through and having written the modules in the first place).
Philip.
Bookmarks