Zen Follower
- Join Date:
- Mar 2009
- Location:
- Peterborough UK
- Posts:
- 330
- Plugin Contributions:
- 0
Google Checkout module for ZC 1.3.x (beta)
so do you mean that GC will not work unless you have ssl?
Views: 1,099,808
Zen Follower
so do you mean that GC will not work unless you have ssl?
New Zenner
Google Checkout Module Version
v1.4.7
Zen Cart
v.1.3.8a
I have google checkout installed on zc but I don't see gc button at all. What did I miss?
New Zenner
I just installed the zc and added gc mod and 1 image but don't see a gc button anywhere on site.
New Zenner
Hello:
My site is: https://www.leafriveremporium.com
zen-cart 1.3.8a
about me page
MySQL backup
confirm e-mail address
contact us subject
ask a question
Paypal verified
PayPal
Quickbooks Import QBI
google base
google analytics
easy populate
I have installed GC 2 days ago, and started testing with sandbox.
was working fine. Stopped for the night . next day unable to go from checkout to login page for google. I click on google button in checkout, it goes to next page (google sandbox page) and it says: OOPS, We were unable to process your request.
My settings are:
GoogleCheckout
Google Checkout Module Version
v1.4.7
Enable GoogleCheckout Module
True
Select Mode of Operation
https://sandbox.google.com/checkout/
Production Merchant ID
xxxxxxxxxxxxxxx
Production Merchant Key
xxxxxxxxxxxxxxxx
Sandbox Merchant ID
xxxxxxxxxxxxxxxxx
Sandbox Merchant Key
xxxxxxxxxxxxzxxx
.htaccess Basic Authentication Mode
True
Select Merchant Calculation Mode of Operation
http
Disable Google Checkout for Virtual Goods?
True
Allow US PO BOX shipping?
False
Default Values for Real Time Shipping Rates
uspsEXPRESSdomestic_types_VD:1, uspsFIRST CLASSdomestic_types_VD:1, uspsPRIORITYdomestic_types_VD:1, uspsPARCELdomestic_types_VD:1, uspsBPMdomestic_types_VD:1, uspsLIBRARYdomestic_types_VD:1, uspsGlobal Express Guaranteedinternational_types_VD:1, uspsGlobal Express Guaranteed Non-Document Rectangularinternational_types_VD:1, uspsGlobal Express Guaranteed Non-Document Non-Rectangularinternational_types_VD:1, uspsExpress Mail International (EMS)international_types_VD:1, uspsExpress Mail International (EMS) Flat Rate Envelopeinternational_types_VD:1, uspsPriority Mail Internationalinternational_types_VD:1, uspsPriority Mail International Flat Rate Boxinternational_types_VD:1, uspsPriority Mail International Flat Rate Envelopeinternational_types_VD:1, uspsFirst-Class Mail Internationalinternational_types_VD:1
GoogleCheckout Carrier Calculated Shipping
True
Carrier Calculater Shipping Configuration
fedexGrounddomestic_types_CCS:1|0|0, fedexHome Deliverydomestic_types_CCS:1|0|0, fedexExpress Saverdomestic_types_CCS:1|0|0, fedex2Daydomestic_types_CCS:1|0|0, fedexStandard Overnightdomestic_types_CCS:1|0|0, fedexPriority Overnightdomestic_types_CCS:1|0|0, fedexFirst Overnightdomestic_types_CCS:1|0|0, upsGrounddomestic_types_CCS:1|0|0, ups3 Day Selectdomestic_types_CCS:1|0|0, ups2nd Day Airdomestic_types_CCS:1|0|0, upsNext Day Air Saverdomestic_types_CCS:1|0|0, upsNext Day Airdomestic_types_CCS:1|0|0, upsNext Day Air Early AMdomestic_types_CCS:1|0|0, uspsMedia Maildomestic_types_CCS:1|0|0, uspsParcel Postdomestic_types_CCS:1|0|0, uspsExpress Maildomestic_types_CCS:1|0|0
Rounding Policy Mode
UP
Rounding Policy Rule
PER_LINE
Cart Expiration Time (Minutes)
30
Also send notifications with Zencart
True
Google Analytics Id
xx-xxxxx-x
3rd Party Tracking
NONE
Google Checkout restricted product categories
Continue shopping URL.
http://www.leafriveremporium.com/zencart_dir/index.php?main_page=
Sort order of display.
3
I did chmod the htaccess.php, created my files, and changed my chmod back. because my server has php over CGI. Also have a google approved SSL for the site. I have rechecked all the files and am unable to find what the problem is. Please, any Ideas?
Thank You
Zen Follower
The install of GC went smoothly and works just fine.
However, we need to exclude some of our inventory from Google Checkout as they are in violation of GC rules (replica guns). We were able to do this with x-cart, but have no clue how to do this with zencart.
So, we need to exclude some inventory from having the Google Checkout capability on their pages.
Any ideas?
New Zenner
beyre:
The install of GC went smoothly and works just fine.
However, we need to exclude some of our inventory from Google Checkout as they are in violation of GC rules (replica guns). We were able to do this with x-cart, but have no clue how to do this with zencart.
So, we need to exclude some inventory from having the Google Checkout capability on their pages.
Any ideas?
I wish I could say the same thing, I can't get the GC button to show up on my site. I've installed the module but buttons don't show. Anybody with any ideas
New Zenner
GoogleCheckout
Google Checkout Module Version
v1.4.7
Enable GoogleCheckout Module
True
Select Mode of Operation
https://sandbox.google.com/checkout/
Production Merchant ID
xxxxxxxxxxxxxxxxx
Production Merchant Key
xxxxxxxxxxxxxxxxx
Sandbox Merchant ID
xxxxxxxxxxxxxxxxxxx
Sandbox Merchant Key
xxxxxxxxxxxxxxxxxxxxxxxx
.htaccess Basic Authentication Mode
False
Select Merchant Calculation Mode of Operation
https
Disable Google Checkout for Virtual Goods?
False
Allow US PO BOX shipping?
False
Default Values for Real Time Shipping Rates
GoogleCheckout Carrier Calculated Shipping
False
Carrier Calculater Shipping Configuration
fedexGrounddomestic_types_CCS:1.00|0|0, fedexHome Deliverydomestic_types_CCS:1.00|0|0, fedexExpress Saverdomestic_types_CCS:1.00|0|0, fedex2Daydomestic_types_CCS:1.00|0|0, fedexStandard Overnightdomestic_types_CCS:1.00|0|0, fedexPriority Overnightdomestic_types_CCS:1.00|0|0, fedexFirst Overnightdomestic_types_CCS:1.00|0|0, upsGrounddomestic_types_CCS:1.00|0|0, ups3 Day Selectdomestic_types_CCS:1.00|0|0, ups2nd Day Airdomestic_types_CCS:1.00|0|0, upsNext Day Air Saverdomestic_types_CCS:1.00|0|0, upsNext Day Airdomestic_types_CCS:1.00|0|0, upsNext Day Air Early AMdomestic_types_CCS:1.00|0|0, uspsMedia Maildomestic_types_CCS:1.00|0|0, uspsParcel Postdomestic_types_CCS:1.00|0|0, uspsExpress Maildomestic_types_CCS:1.00|0|0
Rounding Policy Mode
HALF_EVEN
Rounding Policy Rule
PER_LINE
Cart Expiration Time (Minutes)
NONE
Also send notifications with Zencart
True
Google Analytics Id
NONE
3rd Party Tracking
NONE
Google Checkout restricted product categories
Continue shopping URL.
checkout_success
Sort order of display.
0
This is my google checkout screen can anyone help me figure why google checkout button doesn't appear?
New Zenner
Hi all,
I've set up google checkout, but when i try to edit it, the button informs me that i am using sandbox and orders will be processed and not charged!
I then get this error message:
modules.php(282) : eval()'d code on line 1
Help
:oops:
New Zenner
Just change your option of sandbox and production to production to go live. Make sure to have the merchant ID and Merchant Key in your production boxes filled out correctly.
New Zenner
i started to install this mod using method #2 in the instructions for installing with other mods already installed but i am not a coder by any stretch.
as i was editing the admin/orders.php file using phpdesigner and beyond compare i noticed that one part of this editing process was going to overwrite a few lines dealing with COWOA from FEC/ESL mods. i am sure this would not be good. i am also unsure how to merge these lines w/o screwing something up.
i don't want to go into in depth detail if no one can help me.
has anyone installed this mod with FEC & ESL already installed that may be able to give me some advice on this?
i would like to use this mod if at all possible but not at the expense of FEC/ESL.
thx
Totally Zenned
I installed GC with FEC installed and it went smoothly. just follow the instructions word for word, manually adding the code to the files and locations directed.
Back up all files by renaming them to .old.... don't overwrite originals and you have nothing to fear. You can always revert back to the .old files if you make an arse of it.
Installing is the easy part... configuring it can be very tricky.
New Zenner
thx limelites,
i have done a few other mods and all have gone quite smoothly but this one is very intimidating. the fact that u say the install is the ez part does not make it any more appealing.
i learned the importance of backups long ago. i will take the plunge and give it a shot but don't be surprised if i post here again!
thx again
Zen Follower
I've seen a number of posts on this thread about why taxes aren't being calculated, but no resolutions. Any word or update on how to fix this. I'm having the same problem.
Thanks,
Totally Zenned
right im trying AGAIN to install GC on my store and yet again still cant get the postage to work.
i use google zone table rates modual for shipping so local people can get free delivery, mainland uk get a set price and offshore and nonmainland/highlands get the same as UK plus £10.
Default Values for Real Time Shipping Rates
Default values for real time rates in case the webservice call fails.
Set Default Value to 0 to disable the method
shipping generator
Zones Table Rate zonetable not configured!
i have tried the shipping generator in the Admin cuntrol panel for GC but this gives totally random figures totally different to my shipping modual.
do i need to install a different shipping modual like one of the standard zc moduals and install google checkout postage that way???
Please help. This is the 2nd time ive tried to install this and still cant get it working.
Totally Zenned
I see you're in the UK? I am too. I had difficulty getting GC to work with my ZC shipping modules too. I ended up having to force flat rate shipping for all GC orders.
This can be done rather easily. Simply enter Allow US PO BOX shipping ...... set to FALSE and just enter the flat rate for the shipping methods into the boxes provided below this....
You'll also need to set GoogleCheckout Carrier Calculated Shipping to false.
Zen Follower
I've seen that this issue has been going on for quite sometime but I just can't find a fix.
I came across this error when I put something in my cart- viewed the cart and then removed the item from the cart:
Fatal error: Cannot redeclare selfurl() (previously declared in /home/XXXXX/public_html/googlecheckout/gcheckout.php:39) in /home/XXXXX/public_html/googlecheckout/gcheckout.php on line 38
I found some hints and made this change:
replace in googlecheckout/gcheckout.php 38
PHP Code:
function selfURL() {
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
$protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
}
with this
PHP Code:
if (!function_exists('selfURL')) {
function selfURL() {
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
$protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
}
}
Now I have this error when I empty the shopping cart when looking at it:
Fatal error: Cannot redeclare strleft() (previously declared in /home/XXXXX/public_html/googlecheckout/gcheckout.php:46) in /home/XXXXX/public_html/googlecheckout/gcheckout.php on line 46
FYI: Lines 46- 48 are:
function strleft($s1, $s2) {
return substr($s1, 0, strpos($s1, $s2));
}
When I posted this on the Google support forum, I received this answer but I don't know what to make of it:
Any error which states "Cannot redeclare" means the function has already been defined somewhere in the code being parsed.
Try having functions all in one place and not repeating them, or wrapping them in the if (!function_exists('FUNCTION_NAME')) { logic.
Any help would be greatly appreciated.
Nancy
Totally Zenned
You should try removing the GC mod completely, then re-installing.
Zen Follower
Well, I have completely reinstalled and now I'm back to:
Fatal error: Cannot redeclare selfurl() (previously declared in /home/xxxxx/public_html/googlecheckout/gcheckout.php:39) in /home/xxxxx/public_html/googlecheckout/gcheckout.php on line 38
Any other thoughts??
Nancy
Totally Zenned
previously declared in /home/xxxxx/public_html/googlecheckout/gcheckout.php:39) in /home/xxxxx/public_html/googlecheckout/gcheckout.php on line 38
What does it say on line 38?
Zen Follower
I have 1.38, installed this add-on fine, everything is fine at Google end also.
I have Froogle products enlisted, under same Google account. When I search for them as a customer, it does not show that I have Google Checkout in the results (the little blue shopping cart is missing). It has been few weeks since all this has setup.
Any ideas?
Thanks in advance.
Fields marked required must be completed.
Tell staff why this post should be reviewed.