Re: Google Checkout module for Zen Cart 1.3.x (beta)
Thank you for helping used shipping method generator would only pick up if I did not select zone in USPS module. I added the USPS part of shipping method from the generator with no zone selected in shipping mod.
shipping methods php:
application/x-httpd-php shipping_methods.php
PHP script text
<?php
/**
* File: googlecheckout/shipping_methods.php file
*/
$mc_shipping_methods = array(
'ups' => array(
'domestic_types' =>
array(
'GND' => 'Ground',
'3DS' => '3 Day Select',
),
'international_types' =>
array(
'STD' => 'Canada Standard',
),
),
'usps' => array(
'domestic_types' =>
array(
'PRIORITY' => 'Priority Mail',
),
'international_types' =>
array(
),
),
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
),
),
);
$mc_shipping_methods_names = array(
'ups' => 'United Parcel Service',
'usps' => 'United States Postal Service',
'freeshipper' => 'Free Shipper',
);
?>
Re: Google Checkout module for Zen Cart 1.3.x (beta)
If you're truly using zone as a shipping option you're going to need these two sections:
PHP Code:
'zones' => array(
'domestic_types' =>
array(
'zones' => 'Zones Rates'
),
'international_types' =>
array(
'zones' => 'Zones Rates intl'
),
),
and this as part of your shipping method names otherwise it won't show up on GCO side.
PHP Code:
'zones' => 'Zones',
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Quote:
Originally Posted by
sham
I have google checkout installed and working, I only use UPS for shipping, but want to add USPS for military apo only. I have created a zone but it doesn't work with google and show a message USPS shipping is not configured. I tried to add USPS to shipping method php, that didn't help do you need special code for zone shipping?
Thank you
I think I am reading what you're trying to do wrong. By zone you mean a shipping zone as in location NOT shipping method? If that's what you're trying to do, then my last post is not necessary.
Is the zone you defined (if it's APO) working on your site for regular Zen Cart?
Re: Google Checkout module for Zen Cart 1.3.x (beta)
UPS does not ship to an APO, so I want to add usps with a zone only for apo address. So I went to location/taxes and created a zone with the military APO's. I can get a quote when I turn google off, but with google turned on and clicking checkout you get an error that the cart has sent information containing and error.
I tried this shipping method php but had the same problem.
application/x-httpd-php shipping_methods.php
PHP script text
<?php
/**
* File: googlecheckout/shipping_methods.php file
*/
$mc_shipping_methods = array(
'ups' => array(
'domestic_types' =>
array(
'GND' => 'Ground',
'3DS' => '3 Day Select',
),
'international_types' =>
array(
'STD' => 'Canada Standard',
),
),
'usps' => array(
'domestic_types' =>
array(
'PRIORITY' => 'Priority Mail',
),
'international_types' =>
array(
),
),
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
),
),
'zones' => array(
'domestic_types' =>
array(
'zones' => 'Zones Rates'
),
'international_types' =>
array(
'zones' => 'Zones Rates intl'
),
),
);
$mc_shipping_methods_names = array(
'ups' => 'United Parcel Service',
'usps' => 'United States Postal Service',
'freeshipper' => 'Free Shipper',
'zones' => 'Zones',
);
?>
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Update...
USPS has updated their APO codes, once I edited them in "zones" everything seems to work using your update for the shipping methods. Thank you so much for your help. You can view them at the link below.
http://www.usps.com/ncsc/lookups/usp...eviations.html
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Quote:
Originally Posted by
conspicuouschick
XML received:
XML sent:
<?xml version="1.0" encoding="UTF-8"?>
<error xmlns="http://checkout.google.com/schema/2" serial-number="70314ae6-941f-45e2-853f-3e1e96c1e2c4">
<error-message>Carrier calculated shipping options have not been provided. Must specify the carrier and delivery type.</error-message>
</error>
Sorry for not answering this sooner. Can you check your ZenCart Admin panel and tell me what the calculations are?
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Quote:
Originally Posted by
sham
Update...
USPS has updated their APO codes, once I edited them in "zones" everything seems to work using your update for the shipping methods. Thank you so much for your help. You can view them at the link below.
http://www.usps.com/ncsc/lookups/usp...eviations.html
Thanks for the feedback. When your time permits you might want to check the USPS thread and see if this information about update is there because if it's not, it should probably be just so people are aware of these code changes. Not really sure if this affects Zen Cart shipping module or not (I haven't tested APO orders lately) but it's something worth checking into.
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Hey All,
Just installed GCO on 1.3.9g and it sort of works. Does send the cart to google and they do take your money, gives an option to return to merchant and on return I'm at the checkout_success page with no order details and there's no order logged in the admin.
Have applied this fix:http://www.zen-cart.com/forum/showpo...&postcount=106
tried again with the same result.
Thanks in advance,
John
Re: Google Checkout module for Zen Cart 1.3.x (beta)
Can you check your ZenCart Admin Panel > Modules > Payment > Google Checkout for the following option: .htaccess Basic Authentication Mode and please tell me if that is set to true or false. In addition, did you create the .htaccess and .htpasswd files for your /googlecheckout/ directory.
Re: Google Checkout module for Zen Cart 1.3.x (beta)
In the admin > modules > payment GCO htaccess is set to False. I have not used htpassword on the GCO dir, should I?
Thanks,
John