In sandbox, clicking on the google checkout button on my site would bring up a page on google checkout with shipping options (so to speak). Now that the code from the shipping generator has been added, I only get an error page. Below is the code... Is something amiss?
<?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
/**
* File: googlecheckout/shipping_methods.php file
*/
$mc_shipping_methods = array(
'usps' => array(
'domestic_types' =>
array(
'FIRST CLASS' => 'First-Class Mail (2 - 5 days)',
'PRIORITY' => 'Priority Mail (2 - 3 days)',
'PARCEL' => 'Parcel Post (4 - 7 days)',
),
'international_types' =>
array(
'Priority Mail International' => 'Priority Mail International (6 - 10 business days)',
),
),
);
$mc_shipping_methods_names = array(
'usps' => 'United States Postal Service (1 x 0.10lbs)',
);
?>
Log into your Google Checkout Sandbox account and then visit Tools > Integration Console and look at the most recent error message provided.
If the error message is not from Google Checkout (meaning you don't see the google checkout page), go to your zencart cache directory and bring up the most recent .log file and provide it here. Also there is a google checkout generator PROVIDED with Google Checkout in the admin panel. Not sure you should be using one provided by someone else.
got a question for you guys. i have google checkout on my site and people can checkout with it by using the google checkout button.
my question is though are orders that are paid for with google supposed to show up in the admin area. it shows 0 items being processed with google. also is there some way of using gift certificates or anything with it as you have to go through the normal checkout method for it to apply it which the bypasses google and makes it useless
If the orders aren't showing up in ZC after a customer completes a GoogleCheckout order, their order isn't being processed by ZC properly.
There is supposed to be a way that gift certificates are checked against the local server but I think I'm missing an option somewhere as I didn't get this to work for mine.
XML received:
<?xml version="1.0" encoding="UTF-8"?>
<checkout-shopping-cart xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<items>
<item>
<item-name>Wet N Wild MegaLast Long Lasting Color n Gloss - Lasting Bronze</item-name>
<item-description></item-description>
<unit-price currency="USD">1.75</unit-price>
<quantity>1</quantity>
<merchant-private-item-data>
<item>YToxNTp7czozOiJxdHkiO2k6MTtzOjQ6Im5hbWUiO3M6NjM6IldldCBOIFdpbGQgTWVnYUxhc3 QgTG9uZyBMYXN0aW5nIENvbG9yIG4gR2xvc3MgLSBMYXN0aW5nIEJyb256ZSI7czo1OiJtb2RlbCI7cz ozMjoiV05XIE1lZ2FMYXN0IC0gTGFzdGluZyBCcm56ZSAzNjciO3M6MzoidGF4IjtpOjA7czoxNToidG F4X2Rlc2NyaXB0aW9uIjtzOjk6IlNhbGVzIFRheCI7czo1OiJwcmljZSI7czo2OiIxLjc1MDAiO3M6MT E6ImZpbmFsX3ByaWNlIjtkOjEuNzU7czoxNToib25ldGltZV9jaGFyZ2VzIjtpOjA7czo2OiJ3ZWlnaH QiO2Q6MC4wNDI5OTk5OTk5OTk5OTk5OTY1NTgzMDg2MjM2NjIwMTQ3MjQ2ODY3NDE4Mjg5MTg0NTcwMz EyNTtzOjI4OiJwcm9kdWN0c19wcmljZWRfYnlfYXR0cmlidXRlIjtzOjE6IjAiO3M6MTU6InByb2R1Y3 RfaXNfZnJlZSI7czoxOiIwIjtzOjIyOiJwcm9kdWN0c19kaXNjb3VudF90eXBlIjtzOjE6IjAiO3M6Mj c6InByb2R1Y3RzX2Rpc2NvdW50X3R5cGVfZnJvbSI7czoxOiIwIjtzOjI6ImlkIjtpOjM4ODtzOjg6In Jvd0NsYXNzIjtzOjc6InJvd0V2ZW4iO30=</item>
</merchant-private-item-data>
<merchant-item-id>388</merchant-item-id>
<tax-table-selector>Taxable Goods</tax-table-selector>
<item-weight unit="LB" value="0.043" />
</item>
</items>
<merchant-private-data>
<session-data>e086549e78b47401bb32f4d57d65b54f;zenid</session-data>
<ip-address>69.137.242.19</ip-address>
</merchant-private-data>
</shopping-cart>
<checkout-flow-support>
<merchant-checkout-flow-support>
<edit-cart-url>http://www.conspicuouschick.com/zencart/index.php?main_page=shopping_cart</edit-cart-url>
<continue-shopping-url>http://www.conspicuouschick.com/zencart/index.php?main_page=http://www.conspicuouschick.com/zencart/index.php</continue-shopping-url>
<shipping-methods>
<carrier-calculated-shipping>
<carrier-calculated-shipping-options>
</carrier-calculated-shipping-options>
<shipping-packages>
<shipping-package>
<ship-from id="Store_origin">
<city></city>
<region>OH</region>
<postal-code>44321</postal-code>
<country-code>US</country-code>
</ship-from>
<width unit="IN" value="1" />
<length unit="IN" value="1" />
<height unit="IN" value="1" />
<delivery-address-category>RESIDENTIAL</delivery-address-category>
</shipping-package>
</shipping-packages>
</carrier-calculated-shipping>
</shipping-methods>
<request-buyer-phone-number>true</request-buyer-phone-number>
<merchant-calculations>
<merchant-calculations-url>https://www.conspicuouschick.com/zencart/googlecheckout/responsehandler.php</merchant-calculations-url>
<accept-merchant-coupons>true</accept-merchant-coupons>
<accept-gift-certificates>false</accept-gift-certificates>
</merchant-calculations>
<tax-tables merchant-calculated="false">
<default-tax-table>
<tax-rules>
<default-tax-rule>
<shipping-taxed>true</shipping-taxed>
<rate>0.0625</rate>
<tax-area>
<us-state-area>
<state>OH</state>
</us-state-area>
</tax-area>
</default-tax-rule>
</tax-rules>
</default-tax-table>
<alternate-tax-tables>
<alternate-tax-table standalone="false" name="Taxable Goods">
<alternate-tax-rules>
<alternate-tax-rule>
<rate>0.0625</rate>
<tax-area>
<us-state-area>
<state>OH</state>
</us-state-area>
</tax-area>
</alternate-tax-rule>
</alternate-tax-rules>
</alternate-tax-table>
</alternate-tax-tables>
</tax-tables>
<rounding-policy>
<mode>HALF_EVEN</mode>
<rule>PER_LINE</rule>
</rounding-policy>
</merchant-checkout-flow-support>
</checkout-flow-support>
</checkout-shopping-cart>
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>
I used the shipping generator PROVIDED with google checkout. Where would there be another one??If the error message is not from Google Checkout (meaning you don't see the google checkout page), go to your zencart cache directory and bring up the most recent .log file and provide it here. Also there is a google checkout generator PROVIDED with Google Checkout in the admin panel. Not sure you should be using one provided by someone else.
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
Bookmarks