Blum, the latest version is 1.2RC3
there is no 1.5, is 1.0.5.
ropu
Printable View
Hi !
I installed Google Checkout module for Zen Cart and Created sandbox account and have some troubles..
It seems to Google Checkout module not working!!
Could U explain how that module should work
There are 4 steps for creating order:
index.php?main_page=shopping_cart – shopping cart. I inserted code
// ** GOOGLE CHECKOUT **
<?php include(DIR_WS_MODULES . 'show_google_components.php'); ?>
// ** END GOOGLE CHECKOUT **
But it will work only when My shopping cart is empty. Then i push the button go to checkout.
And redirect to the page
index.php?main_page=checkout_shipping - type shipping info. Then push continue.
index.php?main_page=checkout_payment . Inserted the code
// ** GOOGLE CHECKOUT **
if($selection[$i]['id'] == "googlecheckout")
continue;
// ** END GOOGLE CHECKOUT **
And I should select a payment method. I activate only google checkout and Check\money modules at the admin part. So i see only Check/Money Order payment method at that page. Where google checkout? Should i activate any more modules for working with google checkout? How it work?
When Google Checkout module send data to the Google Checkout Account? How I could check It ? Thank You so much for Your answerers.
This is the thread suggested in the version 1.2 RC4 rev1 of the readme file, so I hope that it is the right place to post since the last here was some months ago.
Having installed the new version I am getting the following error messages instead of the Google Checkout button in ZenCart:
Warning: main(googlecheckout/gcheckout.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/nativeamericantrade.com/httpdocs/zencart/includes/modules/show_google_components.php on line 7
Warning: main(googlecheckout/gcheckout.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/nativeamericantrade.com/httpdocs/zencart/includes/modules/show_google_components.php on line 7
Warning: main(googlecheckout/gcheckout.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/nativeamericantrade.com/httpdocs/zencart/includes/modules/show_google_components.php on line 7
Warning: main(): Failed opening 'googlecheckout/gcheckout.php' for inclusion (include_path='.:/usr/local/4admin/apache/lib/php') in /usr/local/4admin/apache/vhosts/nativeamericantrade.com/httpdocs/zencart/includes/modules/show_google_components.php on line 7
It seemed to work fine with the older version only sans the new shipping modules.
I also do not get a blank page at the API callback URL, but instead get NOT FOUND message for requested URL.
I note that the Installation Notes for this version shows two files to be installed as such:
YOUR_ZENCART_FOLDER/admin/includes/htaccess.php
YOUR_ZENCART_FOLDER/admin/includes/multisock.html
While the downloaded file positioning would seem to show them as:
YOUR_ZENCART_FOLDER/admin/htaccess.php
YOUR_ZENCART_FOLDER/admin/multisock.html
Which positioning is correct?
Good news and bad news!
The good news is with the new updates, the button is now enabled when Taxable Goods is set true for all shipping methods.
The bad news is on Flat Rate option works for shipping without a problem. Different options create different errors.
Enabling Flat Rate and Free Shipping Option when order >= $150 generates the following error:
<?xml version="1.0" encoding="UTF-8" ?>
- <error xmlns="http://checkout.google.com/schema/2" serial-number="a9158602-2d08-4eff-b259-05431e1dbe4a">
- <warning-messages>
<string>XML failed to validate against the schema at line: 36, column: 36, with error: cvc-datatype-valid.1.2.1: '' is not a valid value for 'decimal'.</string>
<string>XML failed to validate against the schema at line: 36, column: 36, with error: cvc-complex-type.2.2: Element 'price' must have no element [children], and the value must be valid.</string>
</warning-messages>
<error-message>Error parsing XML; message from parser is: Invalid value for body of price in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/flat-rate-shipping: Required field must not be blank</error-message>
</error>
Enabling multiple shipping options i.e UPS/Flat Rate/USPS generates error that we do not ship to the customer's country. Obviously, there are still issues with this mod.
Ropu,
I'm not sure if you use CGI basic authentication, but here's the errors from someone who does, using the most up-to-date RC4, and all of the installation/readme instructions followed. I have attempted it several times, and here is what I get:
Settings:
.htaccess - True
Operation - Sandbox
Multisocket - True
Merchant Calculation - http
Default values are set for shipping, googlecheckout has my return url for callback. ht files set up properly.
When .htaccess option is true, my server sends the mercant calculation results, which must have an error in the xml, because googlecheckout says "Anticides Emporium does not ship to this address". Yet my XML that sends to the server says it does, here is the xml it sends:
However, if I set the .htaccess option to false, with or without the htaccess files made, my server DOES NOT send the xml of calculation results to the server, and googlecheckout uses my default values already sent.Code:<?xml version="1.0" encoding="utf-8"?> <merchant-calculation-results xmlns="http://checkout.google.com/schema/2">
<results>
<result shipping-name="UPS: Next Day Air" address-id="326363196030853">
<shipping-rate currency="USD">26.69</shipping-rate>
<shippable>true</shippable>
</result>
<result shipping-name="UPS: Next Day Air Saver" address-id="326363196030853">
<shipping-rate currency="USD">24.09</shipping-rate>
<shippable>true</shippable>
</result>
<result shipping-name="UPS: 2nd Day Air" address-id="326363196030853">
<shipping-rate currency="USD">15.3</shipping-rate>
<shippable>true</shippable>
</result>
<result shipping-name="UPS: 3 Day Select" address-id="326363196030853">
<shipping-rate currency="USD">11.07</shipping-rate>
<shippable>true</shippable>
</result>
<result shipping-name="UPS: Ground" address-id="326363196030853">
<shipping-rate currency="USD">8.25</shipping-rate>
<shippable>true</shippable>
</result>
</results>
</merchant-calculation-results>
Therefor, the cgi option being true is correct and working (it sends the xml), however the xml formatting or something is incorrect, as googlecheckout isn't updating the price and shutting down checkout by saying we do not ship to that address. Please help, as I am one of the few on this board that has a clue how to get past the install/readme files, as it's apparent people dont read. LOL
Thanks in advance, and your help and hard work is EXTREMELY appreciated,
Anticide
Can someone help me out?
I reinstalled everything, new Zen 1.3.7 and installed the new GCO 1.2 RC4. Doing sandbox, and put in correct merchant ID and Key. No errors on url/googlecheckout/responsehandler.php.
However, the GCO logo is nowhere. I'm trying to only use GCO, the only mention of it is on step 2/3 in the payment process where it says payment method. However, I go through the whole process, confirm order, it congratulates me and I'm done. But of course, never went to GCO so no order really happens. Any ideas?
I'm also getting this error when I check the logs:
Sun Mar 4 0:55:28 CST 2007:- HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??
I'm guessing I'm making some really basic mistake, but I don't know what it is since I reinstalled everything and started from scratch step by step.
hi anticide
as i can see, ur under CGI. so .htaccess file must be added, and setted to true, and DV are shown.
TIP, if u are using only one shipping provider that has to call a WS (ie. fedex, usps, ups, etc) multisocket is recomended to be set in false, because will only add overhead, (must add this to the docs :D)
If GC page says that ur store doenst ship to some address is because all shipping results are set to false, but is not the example u sent in the xml above.
my suggest, try multsocket false, and test it with the responsehandler_test.php in my signature.
BTW, if you want (or any one) i have an other script that works as a proxy between Zencart and sandbox, there you can log all http messages with the server. but this requires a little more configuration and some DB mods. (not big deal), but is a good debuging tool.
please, send your feedback when trying my suggest
thx
ropu
I finally got it to work right.. I click on the Google Checkout button and it takes me to google.. So now how do I charge shipping because it doesnt show any shipping. I set my admin to flat rate shipping..