Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
giriv
We are also experiencing the same error. Our website seems fast - not sure why the timeouts are happening.
Below is a link to a GC merchants and integrators resources page. You may want to visit the Google Checkout Merchants or Developers forums or the GC blog to see if a system status update is available.
http://groups.google.com/group/googl...a4ac77ebefb661
Woody
Re: Google Checkout module for Zen Cart (beta)
I installed Google Checkout v1.4.5_CCS, for some reason it is not intergrated with zencart, meaning no customer or order info within zen cart, any ideas what could be wrong here?
Re: Google Checkout module for Zen Cart (beta)
Hi All -
I've been trying to get this going all night - I upgraded zen to the latest version and downloaded the latest, full build of GoogleCheckout ... it works OK except it won't compute the USPS calculated postage properly.
On the cart pages, the shipping estimator works fine for USPS realtime rates. But when you use GoogleCheckout, it doesn't add the shipping - even though I have it configured. And in the GoogleCheckout settings, when I open the Shipping Methods Generator to test, it gives me the following error:
Fatal error: Cannot redeclare class usps in /home/httpd/vhosts/getskinsnow.com/httpdocs/includes/modules/shipping/usps.php on line 798
Any help? There are no other usps.php files in the /shipping folder - I've already made sure. I removed all usps.php files and re-uploaded from the download, same problem.
Help!
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
fmckinnon
Hi All -
I've been trying to get this going all night - I upgraded zen to the latest version and downloaded the latest, full build of GoogleCheckout ... it works OK except it won't compute the USPS calculated postage properly.
On the cart pages, the shipping estimator works fine for USPS realtime rates. But when you use GoogleCheckout, it doesn't add the shipping - even though I have it configured. And in the GoogleCheckout settings, when I open the Shipping Methods Generator to test, it gives me the following error:
Fatal error: Cannot redeclare class usps in /home/httpd/vhosts/getskinsnow.com/httpdocs/includes/modules/shipping/usps.php on line 798
Any help? There are no other usps.php files in the /shipping folder - I've already made sure. I removed all usps.php files and re-uploaded from the download, same problem.
Help!
You'll get better assistance for the latest versions of GoogleCheckout on your zen cart here:
http://groups.google.com/group/googl...rt-mod-support
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
rxalex
I installed Google Checkout v1.4.5_CCS, for some reason it is not intergrated with zencart, meaning no customer or order info within zen cart, any ideas what could be wrong here?
Try checking here:
http://groups.google.com/group/googl...rt-mod-support
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
Thanks chain_man, I tried the support page, cant figure out whats wrong.. order goes through perfectly but doesnt communicate with zencart, no admin orders and customer info :(... can anyone help me please? losing customers this way :*(
Re: Google Checkout module for Zen Cart (beta)
https://secure.hostmonster.com/~shop...nsehandler.php -- the error we got is: Sending failed with HTTP response code: 500. Response body was: <!-- SHTML Wrapper - 500 Server Error --> <!-- PHP Wrapper - 500 Server Error --> <html><head><title>500 Server Error</title></head> <body bgcolor=white> <h1>500 Server Error</h1> A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. <hr> URL: http://74.220.203.52/~shopp/shop/googlecheckout/responsehandler.php<br> </body></html>"][U]We encountered an error trying to access your server at https://secure.hostmonster.com/~shop...nsehandler.php -- the error we got is: Sending failed with HTTP response code: 500. Response body was: <!-- SHTML Wrapper - 500 Server Error --> <!-- PHP Wrapper - 500 Server Error --> <html><head><title>500 Server Error</title></head> <body bgcolor=white> <h1>500 Server Error</h1> A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. <hr> URL: http://74.220.203.52/~shopp/shop/googlecheckout/responsehandler.php<br> </body></html> [/U
this is the error that im getting
Re: Google Checkout module for Zen Cart (beta)
I see your using a shared SSL. Try search on the other support group for 'shared SSL'. There's a one line edit that should fix your problem.
Sorry, I'm kind of in a hurry and cannot look it up for you.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
tj1
I see your using a shared SSL. Try search on the other support group for 'shared SSL'. There's a one line edit that should fix your problem.
Sorry, I'm kind of in a hurry and cannot look it up for you.
Quote:
Originally Posted by
ropu
if u add the alternative HTTPS url in the GC sellers
page->settings>integration> API Callback URL all notificaitons, such as
NewOrder, Risk, state changes, etc will be parsed correctly.
But if u use merchant-calculation-callback, (for USPS, ups, fedex, etc, or
coupons) u will need to edit googlecheckout/gcheckout.php line 598
$Gcart->SetMerchantCalculations($url, 'false', 'true', 'false');
and change $url to ur path
ie.
$url = '
https://securehosting/~myaccountetc/googlecheckout/responsehandler.php';
$Gcart->SetMerchantCalculations($url, 'false', 'true', 'false');
hope this helps
ropu
Thanks Tj I appreciate your help... but it didnt work :( could I be doing something wrong?
Re: Google checkout not clearing shopping cart
Quote:
Originally Posted by
Zinfandel
Does anyone know how to post the XML sitting in the response_message.log that didn't get processed?
Hi,
I just had the same problem (had a misconfigured Google Checkout level 2 integration URL while processing orders) and so I wrote this Perl script to re-post a failed order back into the Zen-Cart order queue.
You have to put the XML in a file in the same directory and then run this from a Unix/Linux machine (probably -- have not tested it on Windows, but maybe it will work if you have a decent Perl install)
Here is the script:
Code:
#!/usr/bin/perl -w
########################################################################
# resend-order.pl
# resend failed gcheckout order
# License: MIT License <http://en.wikipedia.org/wiki/MIT_License>
# You are free to do whatever you wish with this code,
# but I'm not responsible for anything that happens because of it
# Copyright (c) 2007 Mike Percy
########################################################################
use strict;
use LWP::UserAgent;
my $file = shift @ARGV or die "Usage: $0 <filename> (where filename is a file containing the XML of the failed order)\n";
my $content = '';
open(FILE, "< $file")
or die "error: cannot open file ($file) for read: $!";
read(FILE, $content, -s FILE)
or die "error: cannot read file ($file): $!";
close FILE;
my $ua = LWP::UserAgent->new;
# modify the below two lines to point to your domain and use your own google checkout id & key
my $req = HTTP::Request->new(POST => 'https://www.mydomain.com/shop/googlecheckout/responsehandler.php');
$req->authorization_basic('google_merchant_id', 'google_merchant_key');
$req->content_type('application/x-www-form-urlencoded');
$req->content($content);
my $res = $ua->request($req);
print $res->as_string;
exit 0;
You will have to modify a couple of lines in that script to point to your web server in the HTTP::Request->new() line and put in your google checkout id and merchant key as the username/password in the $req->authorization_basic() line.
You run it like this:
Code:
./resend-order.pl failed-order.xml
It works for me. Hope this helps!
Mike