Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ptoly
I have not modified the shipping arrays or anything in the googlecheckout directory.
I got the error entry from the Google Integration page in Safari. Here is the complete response:
and here is the error log entry:
The last few lines, was that from the googlecheckout/response_error.log on your server?
The error you report is often generated when spaces or other characters are before (or within) the opening XML declaration. But that code is generated by the mod and then the data parsed by Google.
Previous link to Merchants forum posts will provide a little insight.
Probably best if you post issue in the GC Developers Forum (PHP API category) to hopefully obtain the attention of a Google "engineer". Note they don't have a good record of responding to all Q's over there so you may need to assert yourself. Include a link back to your post(s) in this thread to give them reference and be sure to report the version of the mod you are running. And ask for ropu ;-)
Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
SirBuck
I have my store set up to get live rates from FedEx, Ups, etc.. and would like the generated shipping rates to pass on to my Google Checkout. So far they don't.
I know that I can manually set up the rates in GC but since the rates Im getting will vary, I want GC to always match.
Sometimes connections between the ship provider and Zen Cart/Google Checkout servers fail. So when such a failure occurs the default ship values are applied.
It might be preferential to some shopowners that an admin option be available to the ZC shop-owner, to disable the default ship values in GC mod. So whenever a ship provider connect failure occurs, GC would prompt the customer (and shop-owner) an error has occurred and NOT process the order. Is this what you prefer?
I understand the fallback to default code is based on the API, so you might want to take this issue up on the GC API Developers forum.
Woody
Re: Google Checkout module for Zen Cart (beta)
Thanks Woody!
I appreciate the quick reply. It makes sense, I think I just needed to hear it.
Re: Google Checkout module for Zen Cart (beta)
Hello there,
I have looked through this thread, and someone had this problem, but I couldn't see any solution
Quote:
Fatal error: Cannot redeclare strleft() (previously declared in /home/thegemtr/public_html/googlecheckout/gcheckout.php:43) in /home/thegemtr/public_html/googlecheckout/gcheckout.php on line 43
I appreciate any help. This message appears at the bottom of the shopping cart page. Everything else seems to work ok, only the shipping is ignored, but I haven't looked into that much.
Cheers :smile:
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
The last few lines, was that from the googlecheckout/response_error.log on your server?
The error you report is often generated when spaces or other characters are before (or within) the opening XML declaration. But that code is generated by the mod and then the data parsed by Google.
Previous link to Merchants forum posts will provide a little insight.
Probably best if you post issue in the GC Developers Forum (PHP API category) to hopefully obtain the attention of a Google "engineer". Note they don't have a good record of responding to all Q's over there so you may need to assert yourself. Include a link back to your post(s) in this thread to give them reference and be sure to report the version of the mod you are running. And ask for ropu ;-)
Woody
Yes, it was from the response_error.log. Thanks very much for the advice and input. I'm already spending a bit of time reading up on that link you left before.
Cheers,
Ptoly
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
HeathenMagic
Hello there,
I have looked through this thread, and someone had this problem, but I couldn't see any solution
I appreciate any help. This message appears at the bottom of the shopping cart page. Everything else seems to work ok, only the shipping is ignored, but I haven't looked into that much.
I agree there was no real closure on this topic, or for that matter many other topics in this thread. It's as if Google worked on this mod for awhile then dropped complete support.
Just some possibilities and hunches:
Which version of the GC for ZC mod do you have installed? Did you upgrade from a previously installed mod version? Are you certain your upgraded all previous mod version files (and removed those no longer used)? Possibly a no longer used file in previous mod version is also loading that same function (old multisocket)?
I don't know if this helps but did you see either of these posts regarding editing gcheckout.php:
http://www.zen-cart.com/forum/showpo...&postcount=829
http://www.zen-cart.com/forum/showpo...&postcount=947
Did you attempt to comment out the strleft function in gcheckout.php? If so what was your result?
And it was suggested previously to rename the relevant functions (it appears that this was promised but was not done in the latest version). Try appending gc_ to the beginning of both the selfURL and strleft functions (and where ever the functions are called). Please first search all your Zen Cart files with the Developers Toolkit, to ensure those same functions are not called elsewhere, or different functions with the same name are used elsewhere.
If you want to learn more about needles in a haystack, it appears the function to capture the URL was borrowed from here: http://dev.kanngard.net/Permalinks/I...507183447.html
and which was likely derived from here: http://www.php.net/strpos
Woody
Re: Google Checkout module for Zen Cart (beta)
Hi Guyzs
In need of some help - have been working on a zen cart store, have google checkout as a payment provider, the module works fine in that the sale moves accross to google checkout and is processed correctly.
The issue I have is that when the customer returns to zencart, the shopping cart is not cleared down and the order will not appear in the admin orders section.
My API callback URL seems correct, I am going through my server ssl to the responsehandler and I do not get any integration issue error messages.
Something somewhere however must be wrong.
Can anyone shed any light
The response error log states
Fri May 11 12:23:46 BST 2007:- HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??
If anyone can point me in the right direction I would be eternally grateful.
Re: Google Checkout module for Zen Cart (beta)
I finally have google checkout installed and I thought it was all good, as my button in payments is green and there is no problems or errors listed!! Then I was checking my website and I went to my shopping cart and there are ERRORS!!!!
Warning: require_once(admin/includes/configure.php) [function.require-once]: failed to open stream: No such file or directory in D:\hosting\member\tsjohnsonllc\site1\googlecheckout\gcheckout.php on line 31
Fatal error: require_once() [function.require]: Failed opening required 'admin/includes/configure.php' (include_path='.;C:\php5\pear') in D:\hosting\member\tsjohnsonllc\site1\googlecheckout\gcheckout.php on line 31
Any idea what I can do or what I didn't do? Why aren't these showing up in my admin?
Thanks!
Re: Google Checkout module for Zen Cart (beta)
Have you renamed admin at all? Go to gcheckout.php, look for this bit:
Quote:
require_once('admin/includes/configure.php');
require('includes/languages/' . $_SESSION['language'] . '/' .'modules/payment/googlecheckout.php');
require_once('includes/modules/payment/googlecheckout.php');
rename admin to your admin name. :smile:
Re: Google Checkout module for Zen Cart (beta)
Thanks Woodymon,
I will try renaming the functions. I did a search for strleft, but nothing was found. Strleft appears in gcheckout.php only, which is outside the admin / includes structure. But commenting out might do the trick. Will let you know.
:smile: