Forums / Addon Payment Modules / Google Checkout not estimating UPS Shipping rates correctly

Google Checkout not estimating UPS Shipping rates correctly

Locked

Views: 2,281

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Mar 2009, 5:32 PM
#1
r2i2009 avatar

r2i2009

New Zenner

Join Date:
Mar 2009
Posts:
3
Plugin Contributions:
0

Google Checkout not estimating UPS Shipping rates correctly

Hi all,

I'm almost done with my first major customization of ZenCart - and I have to say, it's a pretty awesome shopping cart. I'm more of a designer than anything so to pull off a site like this is very rewarding.

Anyways here is the problem:

If I add more than one products to the cart and check out, the UPS shipping rates are wrong. It's adding a few cents per item rather than a few dollars.

Example....
1 hat = $6.81
3 hats = $6.89

I'm guessing 3 hats should be about $15 shipping. Can anyone point me in the right direction?

Thanks everyone for your time. :smile:


Here is the site:
http://madbomber-com.webhost08.pointclick.net/store/

Here are the Google Checkout Module settings:

GoogleCheckout

Google Checkout Module Version
v1.4.7

Enable GoogleCheckout Module
True

Select Mode of Operation
https://sandbox.google.com/checkout/

Production Merchant ID
xxx

Production Merchant Key
xxx

Sandbox Merchant ID
xxx

Sandbox Merchant Key
xxx

.htaccess Basic Authentication Mode
False

Select Merchant Calculation Mode of Operation
https

Disable Google Checkout for Virtual Goods?
False

Allow US PO BOX shipping?
True

Default Values for Real Time Shipping Rates
ups1DMdomestic_types_VD:1, ups1DMLdomestic_types_VD:0, ups1DAdomestic_types_VD:1, ups1DALdomestic_types_VD:0, ups1DAPIdomestic_types_VD:0, ups1DPdomestic_types_VD:1, ups1DPLdomestic_types_VD:0, ups2DMdomestic_types_VD:0, ups2DMLdomestic_types_VD:0, ups2DAdomestic_types_VD:1, ups2DALdomestic_types_VD:0, ups3DSdomestic_types_VD:1, upsGNDdomestic_types_VD:1, upsGNDCOMdomestic_types_VD:0, upsGNDRESdomestic_types_VD:1, upsSTDdomestic_types_VD:1, upsXPRdomestic_types_VD:0, upsXPRLdomestic_types_VD:0, upsXDMdomestic_types_VD:0, upsXDMLdomestic_types_VD:0, upsXPDdomestic_types_VD:0

GoogleCheckout Carrier Calculated Shipping
True

Carrier Calculater Shipping Configuration
fedexGrounddomestic_types_CCS:0|0|0, fedexHome Deliverydomestic_types_CCS:0|0|0, fedexExpress Saverdomestic_types_CCS:0|0|0, fedex2Daydomestic_types_CCS:0|0|0, fedexStandard Overnightdomestic_types_CCS:0|0|0, fedexPriority Overnightdomestic_types_CCS:0|0|0, fedexFirst Overnightdomestic_types_CCS:0|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:0|0|0, uspsParcel Postdomestic_types_CCS:0|0|0, uspsExpress Maildomestic_types_CCS:0|0|0

Rounding Policy Mode
HALF_EVEN

Rounding Policy Rule
TOTAL

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

30 Mar 2009, 8:54 PM
#2
transtor avatar

transtor

New Zenner

Join Date:
Mar 2009
Posts:
8
Plugin Contributions:
0

Re: Google Checkout not estimating UPS Shipping rates correctly

:blink::blink:

I am facing the same problem. My solution is to increase the basic weight of your item. But it is not recommended, cauz it imposes more shipping fee if buyer buy only one.

Looking for better ans...

31 Mar 2009, 4:19 PM
#3
r2i2009 avatar

r2i2009

New Zenner

Join Date:
Mar 2009
Posts:
3
Plugin Contributions:
0

Re: Google Checkout not estimating UPS Shipping rates correctly

I might have solved the problem, not 100% sure though. I looked at the XML ZenCart sent GC - and noticed the total item weight was off. In the case below the total weight should have been 1.5.

  <item>
    <item-name>Red Supplex Bomber®</item-name>
    <item-description>[Size:Large] </item-description>
    <unit-price currency="USD">40</unit-price>

** <quantity>3</quantity>**
<merchant-private-item-data>
<item>YToxNjp7czozOiJxdHkiO2k6MztzOjQ6Im5hbWUiO3M6MTk6IlJlZCBTdXBwbGV4IEJvbWJlcq4iO3M6NToibW9kZWwiO3M6NjoiMzA0TjA1IjtzOjM6InRheCI7aTowO3M6MTU6InRheF9kZXNjcmlwdGlvbiI7czo5OiJTYWxlcyBUYXgiO3M6NToicHJpY2UiO3M6NjoiMC4wMDAwIjtzOjExOiJmaW5hbF9wcmljZSI7ZDo0MDtzOjE1OiJvbmV0aW1lX2NoYXJnZXMiO2k6MDtzOjY6IndlaWdodCI7ZDowLjU7czoyODoicHJvZHVjdHNfcHJpY2VkX2J5X2F0dHJpYnV0ZSI7czoxOiIxIjtzOjE1OiJwcm9kdWN0X2lzX2ZyZWUiO3M6MToiMCI7czoyMjoicHJvZHVjdHNfZGlzY291bnRfdHlwZSI7czoxOiIwIjtzOjI3OiJwcm9kdWN0c19kaXNjb3VudF90eXBlX2Zyb20iO3M6MToiMCI7czoyOiJpZCI7czozNToiMzQ6Y2I0NjM2MjE3MmQ2NDBhZjM0NmUwMWE4OTE5NjcwZWEiO3M6ODoicm93Q2xhc3MiO3M6Nzoicm93RXZlbiI7czoxMDoiYXR0cmlidXRlcyI7YToxOntpOjA7YTo2OntzOjY6Im9wdGlvbiI7czo0OiJTaXplIjtzOjU6InZhbHVlIjtzOjU6IkxhcmdlIjtzOjk6Im9wdGlvbl9pZCI7aToxO3M6ODoidmFsdWVfaWQiO3M6MToiMyI7czo2OiJwcmVmaXgiO3M6MToiKyI7czo1OiJwcmljZSI7czo3OiI0MC4wMDAwIjt9fX0=</item>
</merchant-private-item-data>
<merchant-item-id>34:cb46362172d640af346e01a8919670ea</merchant-item-id>
<tax-table-selector>Taxable Goods</tax-table-selector>
** <item-weight unit="LB" value="0.5" />**
</item>

So... my developer whiz found a few lines of code in "\googlecheckout\library\googlecart.php" and modified them (line 443).

=====old code=====
'value' => $item->numeric_weight ));
=====end old code====

====new code====
'value' => $item->numeric_weight * $item->quantity
));
====end new code====

Seems to be computing correct UPS shipping costs now. :clap: