Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
BBG
I was thinking of prompting the user when they first add an item to the shopping cart, something like "Please enter your shipping location so we can calculate shipping costs". Although, I'm not sure if that would violate Google's TOS. As a bonus, for US addresses, you could also send Google the calculated shipping values (instead of the fallback guesstimates) if you knew where it was being shipped to- although I've never seen the live callback timeout yet <knock on wood>.
That would work too. But from the stand point of buyer experience I would still prefer a simple checkbox (if that does not turn out to be too difficult to implement). This way, U.S. buyers will need to do nothing extra when using Google checkout (the checkbox is unchecked by default), and international buyers will need to make merely one more click, and everything should work.
Whether or not somebody will find it worthwhile to put in effort and implement something like this, will depend on how soon Google can be expected to get rid of this shipping limitation itself. Does anybody know what can we expect in this regard? If this limitation is going to stay for the good part of 2007, I really hope somebody would step forward and create this work-around for us all.
Re: Google Checkout module for Zen Cart (beta)
HI GldRush98
could you mail me ur version so i can update the release?
thx and happy new year
ropu
Quote:
Originally Posted by
GldRush98
Update on my issues...
I finally have GCO 1.0.5 working 100% as it should.
It is finally pulling in our custom fedex and usps shipping rates properly which was the major snag. It's also finally sening ALL information back to our cart about which product was ordered, and how many, etc...
A programmer here had to re-write the entire merchant callback function as the one that was in there does not work.
I also had to change some other things around that 1.0.5 actually broke...
What a head ache.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
HI GldRush98
could you mail me ur version so i can update the release?
thx and happy new year
ropu
ropu: I tried the responsehandler.php file from GldRush98 but it did not work for me. But BBG's fix (see post #473) worked, at least for USPS shipping to US addresses.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
dhan99
ropu: I tried the responsehandler.php file from GldRush98 but it did not work for me. But BBG's fix (see post #473) worked, at least for USPS shipping to US addresses.
Another thing. Since ZC 1.3.7 is out, maybe you can release the 1.0.5 module based on ZC 1.3.7 files (or better, one download for 1.3.6 and another for 1.3.7) so that people with default installations won't have to do the manual editing.
For me, the major issue is international shipping. I don't know if it ever worked for anybody :lookaroun
Google Checkout and Paypal express not working...
I had just installed the "GoogleCheckout" mod on our site: http://www.stunmasters.net. It was working fine until I enabled the "PayPal Express Checkout". Now the GoogleCheckout button does not show at all. I have the GoogleCheckout sort order set to 1 and PayPal Express Checkout sort order set to 2. Anybody experienced this problem?
Thanks in advance for any comments/help.
Jose
Re: Google Checkout and Paypal express not working...
Quote:
Originally Posted by
bigjoed
I had just installed the "GoogleCheckout" mod on our site:
http://www.stunmasters.net. It was working fine until I enabled the "PayPal Express Checkout". Now the GoogleCheckout button does not show at all. I have the GoogleCheckout sort order set to 1 and PayPal Express Checkout sort order set to 2. Anybody experienced this problem?
Thanks in advance for any comments/help.
Jose
Check the last 3 or 4 pages of posts in this thread. The 3 template files that are used for GoogleCheckout (in YOUR_TEMPLATE/templates) have been modified for PayPal Express. You will have to merge code in the 2 versions to have them work together.
Re: Google Checkout module for Zen Cart (beta)
Hi,
Can someone tell me what I am doing wrong? I get these errors from googlecheckout/responsehandler.php
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in /home/rusty2/public_html/newcatalog/includes/functions/sessions.php on line 102
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in /home/rusty2/public_html/newcatalog/includes/functions/sessions.php on line 102
Warning: Cannot modify header information - headers already sent by (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in /home/rusty2/public_html/newcatalog/includes/init_includes/init_templates.php on line 78
Google sandbox gives me this error-
Warnings:
XML We Received:
<br />
<b>Warning</b>: session_start(): Cannot send session cookie - headers already sent by (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in <b>/home/rusty2/public_html/newcatalog/includes/functions/sessions.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in <b>/home/rusty2/public_html/newcatalog/includes/functions/sessions.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/rusty2/public_html/newcatalog/googlecheckout/xmlparser.php:166) in <b>/home/rusty2/public_html/newcatalog/includes/init_includes/init_templates.php</b> on line <b>78</b><br />
<div class="systemError">1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1<br />in:<br />[select products_id, products_weight from products p where products_id in ()]<br /></div>
XML We Sent:
<?xml version="1.0" encoding="UTF-8"?>
<merchant-calculation-callback xmlns="http://checkout.google.com/schema/2" serial-number="fce27712-9424-46b0-995a-c0d23173fe30">
<shopping-cart>
<merchant-private-data>
<session-data>81f6366d23cd0728b8e7d400d45ae2a5;zenid</session-data>
<product-data>;44</product-data>
<ip-address>69.128.162.164</ip-address>
</merchant-private-data>
<items>
<item>
<quantity>1</quantity>
<unit-price currency="USD">5.79</unit-price>
<item-name>Angler 2</item-name>
<item-description></item-description>
<tax-table-selector></tax-table-selector>
</item>
</items>
</shopping-cart>
<buyer-id>326975014161047</buyer-id>
<calculate>
<addresses>
<anonymous-address id="924377622528329">
<country-code>US</country-code>
<city>Salisbury</city>
<region>NH</region>
<postal-code>03268</postal-code>
</anonymous-address>
</addresses>
<merchant-code-strings />
<tax>false</tax>
<shipping>
<method name="Free Options: Free Options" />
<method name="UPS: Next Day Air Early AM" />
<method name="UPS: Next Day Air Early AM Letter" />
<method name="UPS: Worldwide Expedited" />
<method name="USPS: Express Mail" />
<method name="USPS: First-Class Mail" />
<method name="USPS: Priority Mail" />
<method name="USPS: Parcel Post" />
<method name="USPS: Bound Printed Material" />
<method name="USPS: Library" />
</shipping>
</calculate>
<buyer-language>en_US</buyer-language>
</merchant-calculation-callback>
Re: Google Checkout module for Zen Cart (beta)
Thanks for responding chain_man.
I looked at your site and saw how you have google checkout and paypal express together, how did you do that?
You mentioned looking back on this thread about this subject but all I see is a reply posted by you stating to merge the codes, but I don't exactly know how to do that without really messing things up on my site.
Could you provide me with some more details?
How exactly do I add the GCO code?
Thanks for your time...
Re: Google Checkout module for Zen Cart (beta)
It is probably easiest to use winmerge to compare the two files. But I don't have that tool, so did it the hard way.
Essentially, it's probably easiest to start with the new 1.3.7 version as your base code. Search the comparable GCO version for "google". In two of the files, there are only a couple of lines in the GCO version. Copy and paste these lines into the 1.3.7 version. (I'm hedging about which files as I don't have them in front of me.)
In the third file, there is a lot more "google" in the GCO code, and it is well commented. I used this at a base and compared the 1.3.7 version, picking out the PayPal Express sections and copying and pasting them into the CGO version.
I think either way would be about the same.
I placed all merged versions of the template files in the YOUR_TEMPLATE/templates folder, as specified in the Google Checkout mod. This will keep your mods in override mode and keep your 1.3.7 default template code intact.
Sorry I can't be more specific. I hope this helps.
Re: Google Checkout module for Zen Cart (beta)
That helped, I got it working. I modified tpl_login_default.php and tpl_shopping_cart_default.php using winmerge. I left the tpl_checkout_payment_default.php untouched since by this page, customers already had paypal express and google checkout as option for payment.
Thanks for everything.