Woody, Are you sure about this? I removed the couple of lines that the old GC asked to add to this file but the GoogleCheckout still showing in page 2 of 3 of the payment, then i replaced the file with the original file that was never been edited and this GoogleCheckout is not going a wayI think it is reading from a database or another file, any idea? Thanks
I did a Winmerge compare on the file that is giving the problem (includes/modules/payment/googlecheckout.php). The Google code has 509 lines, the zen download has 481. The difference is that the Google code is trying to implement a function to select which zen file to use when returning to zen from GCO.
I downloaded the latest from the zen downloads area and when I go to http://www.doodlebuckets.com/store/g..._generator.php and click Generate, I get the following output:
Warning: Invalid argument supplied for foreach() in /home/doodlebu/www/www/store/googlecheckout/shipping_generator/multigenerator.php on line 18
Warning: Invalid argument supplied for foreach() in /home/doodlebu/www/www/store/googlecheckout/shipping_generator/multigenerator.php on line 61
<?php
/**
* File: includes/modules/payment/googlecheckout.php class
* Add this code to the correct properties
*/
$this->mc_shipping_methods = array(
);
$this->mc_shipping_methods_names = array(
);
?>
Am I doing something wrong? Please advise. I have freeoptions, store pickup and usps shipping enabled.
Thanks! Amy
Amy McCoy
Baby Gifts and Baby Gift Baskets
The USPS shipping module works perfectly. Initially there were some problems with the naming of some international options that caused them not to show up, but that issue was quickly addressed.
I have updated the GC mod with the new USPS naming, but still, I'm not sure what prevents first-class international and Express international from showing up.
All the ZC shops with the GC mod that I've seen show this same issue.
I ship a lot of packages weighing as little as 2 ounces. I don't think many people would want to pay $22 for shipping a small two ounce package. I would've preferred that if only one international shipping option was going to be available, that it'd be first-class.
Amy-
1. At first glance It appears you don't have the GC mod uploaded/installed correctly.
Note the path in the above errors. /www is repeated in the path in both errors
2. Also, generally when hard coding the store path anywhere (e.g. your two Zen Cart configure.php files) should use /public_html instead of "/www". But you may have have a non-standard hosting configuration (check with your hosting provider if not sure).
Woody
1. I don't observe GoogleCheckout (GC) is installed on your site. The GC does not appear on either the login or shopping cart pages.
Maybe you have a development site where you are testing GC mod?
2. Also on your live site the add to cart button is not not redirecting to the shopping cart page.If not certain how to resolve that may want to ask on one of the Configuring Zen Cart boards.
3. The error above appears related to the other errors you reported today. I suspect you have some code from different GC mod versions uploaded. Possibly did not overwrite an older mod file when upgrading the mod?
Woody
Bookmarks