Re: Google Checkout module for Zen Cart (beta)
I finally got Per Unit perweight to work with Google Checkout.
I went to ADMIN > MODULES > PAYMENT > GOOGLE CHECKOUT > EDIT >
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
clicked on the link
generated the code
and pasted that to the bottom of my shipping_methods.php file in the googlecheckout folder to end up with code that looks like this
Code:
<?php
/*
**GOOGLE CHECKOUT ** v1.4.7
* @version $Id: shipping_methods.php 5852 2007-12-14 14:58:57Z ropu $
*
*/
// this are all the available methods for each shipping provider,
// see that you must set flat methods too!
// CONSTRAINT: Method's names MUST be UNIQUE
// Script to create new shipping methods
// http://demo.globant.com/~brovagnati/tools -> Shipping Method Generator
$mc_shipping_methods = array(
'usps' => array(
'domestic_types' =>
array(
'EXPRESS' => 'Express Mail',
'FIRST CLASS' => 'First-Class Mail',
'PRIORITY' => 'Priority Mail',
'PARCEL' => 'Parcel Post',
'BPM' => 'Bound Printed Material',
'LIBRARY' => 'Library'
),
'international_types' =>
array(
'Global Express Guaranteed' => 'Global Express Guaranteed (1 - 3 days)',
'Global Express Guaranteed Non-Document Rectangular' => 'Global Express Guaranteed Non-Document Rectangular (1 - 3 days)',
'Global Express Guaranteed Non-Document Non-Rectangular' => 'Global Express Guaranteed Non-Document Non-Rectangular (1 - 3 days)',
'Express Mail International (EMS)' => 'Express Mail International (EMS) (3 - 5 days)',
'Express Mail International (EMS) Flat Rate Envelope' => 'Express Mail International (EMS) Flat Rate Envelope (3 - 5 days)',
'Priority Mail International' => 'Priority Mail International (6 - 10 days)',
'Priority Mail International Flat Rate Box' => 'Priority Mail International Flat Rate Box (6 - 10 days)',
'Priority Mail International Flat Rate Envelope' => 'Priority Mail International Flat Rate Envelope',
'First-Class Mail International' => 'First-Class Mail International',
),
),
'fedexexpress' => array(
'domestic_types' =>
array(
'06' => 'FedEx First Overnight',
'01' => 'FedEx Priority Overnight',
'05' => 'FedEx Standard Overnight',
'03' => 'FedEx 2Day',
'20' => 'FedEx Express Saver',
),
'international_types' =>
array(
'01' => 'FedEx International Priority',
'03' => 'FedEx International Economy',
),
),
'fedexground' => array(
'domestic_types' =>
array(
'90' => 'FedEx Home Delivery',
),
'international_types' =>
array(
),
),
'fedex1' => array(
'domestic_types' =>
array(
'01' => 'Priority (by 10:30AM, later for rural)',
'03' => '2 Day Air',
'05' => 'Standard Overnight (by 3PM, later for rural)',
'06' => 'First Overnight',
'20' => 'Express Saver (3 Day)',
'90' => 'Home Delivery',
'92' => 'Ground Service'
),
'international_types' =>
array(
'01' => 'International Priority (1-3 Days)',
'03' => 'International Economy (4-5 Days)',
'06' => 'International First',
'90' => 'International Home Delivery',
'92' => 'International Ground Service'
),
),
'ups' => array(
'domestic_types' =>
array(
'1DM' => 'Next Day Air Early AM',
'1DML' => 'Next Day Air Early AM Letter',
'1DA' => 'Next Day Air',
'1DAL' => 'Next Day Air Letter',
'1DAPI' => 'Next Day Air Intra (Puerto Rico)',
'1DP' => 'Next Day Air Saver',
'1DPL' => 'Next Day Air Saver Letter',
'2DM' => '2nd Day Air AM',
'2DML' => '2nd Day Air AM Letter',
'2DA' => '2nd Day Air',
'2DAL' => '2nd Day Air Letter',
'3DS' => '3 Day Select',
'GND' => 'Ground',
'GNDCOM' => 'Ground Commercial',
'GNDRES' => 'Ground Residential',
'STD' => 'Canada Standard',
'XPR' => 'Worldwide Express',
'XPRL' => 'worldwide Express Letter',
'XDM' => 'Worldwide Express Plus',
'XDML' => 'Worldwide Express Plus Letter',
'XPD' => 'Worldwide Expedited'
),
'international_types' =>
array(
),
),
'zones' => array(
'domestic_types' =>
array(
'zones' => 'Zones Rates'
),
'international_types' =>
array(
'zones' => 'Zones Rates intl'
),
),
'freeoptions' => array(
'domestic_types' =>
array(
'freeoptions' => 'Free Options'
),
'international_types' =>
array(
'freeoptions' => 'Free Options intl'
),
),
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
),
),
'perweightunit' => array(
'domestic_types' =>
array(
'perweightunit' => 'Perweight Unit'
),
'international_types' =>
array(
'perweightunit' => 'Perweight Unit intl'
),
),
'storepickup' => array(
'domestic_types' =>
array(
'storepickup' => 'Store Pickup'
),
'international_types' =>
array(
'storepickup' => 'Store Pickup intl'
),
),
'flat' => array(
'domestic_types' =>
array(
'flat' => 'Flat Rate Per Order'
),
'international_types' =>
array(
'flat' => 'Flat Rate Per Order intl'
),
),
'item' => array(
'domestic_types' =>
array(
'item' => 'Flat Rate Per Item'
),
'international_types' =>
array(
'item' => 'Flat Rate Per Item intl'
),
),
'table' => array(
'domestic_types' =>
array(
'table' => 'Vary by Weight/Price'
),
'international_types' =>
array(
'table' => 'Vary by Weight/Price intl'
),
),
'itemnational' => array(
'domestic_types' =>
array(
'itemnational' => 'Item National',
),
'international_types' =>
array(
),
),
'bodykits' => array(
'domestic_types' =>
array(
'bodykits' => 'National',
),
'international_types' =>
array(
'bodykits' => 'International',
),
),
'iteminternational' => array(
'domestic_types' =>
array(
),
'international_types' =>
array(
'iteminternational' => 'Item International',
),
),
);
$mc_shipping_methods_names = array(
'usps' => 'USPS',
'fedex1' => 'FedEx',
'ups' => 'UPS',
'zones' => 'Zones',
'fedexexpress' => 'Fedex Express',
'fedexground' => 'Fedex Ground',
'freeoptions' => 'Free Options',
'freeshipper' => 'Free Shipper',
'perweightunit' => 'Perweight Unit',
'storepickup' => 'Store Pickup',
'flat' => 'Flat Rate',
'item' => 'Item',
'table' => 'Table',
'itemnational' => 'Per Item National',
'iteminternational' => 'Per Item International',
'bodykits' => 'Zoned Flate Rate for Product Classes',
);
?>
<?php
/**
* File: googlecheckout/shipping_methods.php file
*/
$mc_shipping_methods = array(
'perweightunit' => array(
'domestic_types' =>
array(
'perweightunit' => ' ',
),
'international_types' =>
array(
'perweightunit' => ' _1',
),
),
);
$mc_shipping_methods_names = array(
'perweightunit' => 'Shipping & Handling',
);
?>
Re: Google Checkout module for Zen Cart (beta)
Just installed the mod and it works great, but I was unaware that orders do not show in ZC admin. At least when users use PayPal, the order status can be updated from ZC. Is there a way of changing this?
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
stlnyc
Just installed the mod and it works great, but I was unaware that orders do not show in ZC admin. At least when users use PayPal, the order status can be updated from ZC. Is there a way of changing this?
If the GC orders are not showing up in ZC admin, something is very wrong. Check your GC integration console for error messages.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
stlnyc
Just installed the mod and it works great, but I was unaware that orders do not show in ZC admin. At least when users use PayPal, the order status can be updated from ZC. Is there a way of changing this?
Have you set your callback url in your googlecheckout account to https://www.hillsideliquors.com/goog...nsehandler.php ?
And set the callback type to XML?
If those are already set, check the logs in your googlecheckout account under Tools->Integration Console. The logs should give an idea of any problems.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
Have you set your callback url in your googlecheckout account to
https://www.hillsideliquors.com/goog...nsehandler.php ?
And set the callback type to XML?
If those are already set, check the logs in your googlecheckout account under Tools->Integration Console. The logs should give an idea of any problems.
Thanks Doug. Thats what I was missing.
Has anyone successfully integrated Google Checkout with Super Orders?
Has anyone successfully integrated Google Checkout with Super Orders? I'm currently installing ZC 1.3.8a and Super Orders to upgrade my site, but when I went to integrate Google Checkout I found that Super Orders had substantially changed admin/orders.php to the point where I'm not sure exactly what to replace...if anyone has successfully integrated the two, I would greatly appreciate knowing where you inserted the GC code into the Super Orders modified admin/orders.php file.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
kiddo
No real resolution to the above post, but moved to a ZC certified host and no more problems.
Coolies!
What is different than the module?
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
webskipper
What is different than the module?
I'm not sure what you are asking.
Re: Google Checkout module for Zen Cart (beta)
Oh, you said you did not experience any issues with GC since being on a GC certified Server. Just wondering if they had a GC version that was different.
I certainly hope that GC gets a heck of a lot better and that the Yahoo/MS deal does not kill the need to use the Google Webmaster tools. I am still employing them and discovering more benefits everyday.
Re: Google Checkout module for Zen Cart (beta)
Ah, I see what you mean. I didn't mean a Google certified server, I said a Zen Cart certified one. I'm using the same Google Checkout module for Zen Cart as everyone else. Nothing extra.
I've had very good luck with it.