Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
For testing purposes I removed the 'freeshipper' references from both arrays. So the only references in the two arrays were 'itemnational' and 'iteminternational'.
Then I submitted an order. This time the order went through!
After logging into Google Checkout server with the buyers sandbox account, I observed 'itemnational' was the only ship method displayed in the shipping dropdown.
The amount of time for the shipping dropdown to render in the browser was unexpectedly long, and I almost clicked on the submit order button before the shipping dropdown was displayed...not sure of the effect had I done so.
So far, so fair.
However the shipping amount displayed in the dropdown and added to the total was $0.00. Should have been $5.
Also the dropdown did not display "USPS Media Mail" label as expected. Likely need to tweak my array configuration to solve this last one.
But the $0 shipping amount, and having to remove 'freeshipper', and the performance issues are problems.
And as always your ideas are welcome.
Woody
The $0 shipping was probably the default value you have in your GCO Admin module. It was probably displayed because the connection timed out - as indicated by the long rendering time. That's what the default value is for. I think you indicated in a previous post that you had a place to enter a default value for itemnational while editing the GCO module in admin. I think that the dropdown display not showing "USPS Media Mail" is for the same reason. On mine it pulls that label from the mc_shipping_methods_names = array.
The display of only itemnational is logical as the test account you used most likely has a US address. Offering international shipping would not make sense.
I wonder if your duplicate free shipping was because the names you used in the domestic portion and the international portion of the freeshipper array were the same? ie: the 'freeshipper' => entries.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
And I was not get auto redirected back to the shop website as expected. Had to click the "Return to Shopping Center" link.
Woody
I have the same action. I think it might be the normal behavior. Or it might be because it was the sandbox and not production...?
Re: Google Checkout module for Zen Cart (beta)
Woody,
Please list the shipping options that you'd like to offer that you currently have installed in admin-module-shipping. Please indicate if the shipping module is stock or a contribution installed.
I will test them for you on my end. I think you array is messed up the way it is constructed.
Isaac.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
The $0 shipping was probably the default value you have in your GCO Admin module. It was probably displayed because the connection timed out - as indicated by the long rendering time. That's what the default value is for. I think you indicated in a previous post that you had a place to enter a default value for itemnational while editing the GCO module in admin. I think that the dropdown display not showing "USPS Media Mail" is for the same reason. On mine it pulls that label from the mc_shipping_methods_names = array.
After I edited the array files to what was proposed by the shipping generator and also to match your previous post, and then removed freeshipper, no form field with a numeral zero or otherwise appeared adjacent to itemnational in the mod admin within Zen cart.
Quote:
Originally Posted by
chain_man
The display of only itemnational is logical as the test account you used most likely has a US address. Offering international shipping would not make sense.
Of course ;-) That was one thing that worked correctly. Thought I emphasized that.
Quote:
Originally Posted by
chain_man
I wonder if your duplicate free shipping was because the names you used in the domestic portion and the international portion of the freeshipper array were the same? ie: the 'freeshipper' => entries.
That's how freeshipper is configured in the stoick googglecheckout.php file and how the shipping gnerator output looked also. And most other arrays use the duplicate names for both the domestic and international types. And Zen Cart only knows the shipping mod name by 'freeshipper' as it is a shipping mod installed in Zen Cart by default, you should have it too, unless you uninstalled. Either way I need freeshipping to both national and international folks.
This kind of configuration stuff is very difficult to describe via the forum.
Thanks for all ideas,
Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
BlessIsaacola
Please list the shipping options that you'd like to offer that you currently have installed in admin-module-shipping. Please indicate if the shipping module is stock or a contribution installed.
I will test them for you on my end. I think you array is messed up the way it is constructed.
Quote:
Originally Posted by
Woodymon
3. I have only three shipping modules installed:
- freeshipper
- iteminternational
- itemnational
Those are the three I have and want installed. The first is a Zen Cart default. The other two are the same as from the mod below.
Quote:
Originally Posted by
Woodymon
Thanks for testing,
Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
I have the same action. I think it might be the normal behavior. Or it might be because it was the sandbox and not production...?
Doug, How does it behave in your production shop? Well I guess you would need to order something from yourself to test.
Woody
Re: Google Checkout module for Zen Cart (beta)
Further on up in googlecehckout.php ln 50-53
Code:
$this->shipping_support = array("flat", "item", "table", 'freeoptions', 'freeshipper', 'perweightunit', 'storepickup');
$this->shipping_display = array(GOOGLECHECKOUT_FLAT_RATE_SHIPPING, GOOGLECHECKOUT_ITEM_RATE_SHIPPING, GOOGLECHECKOUT_TABLE_RATE_SHIPPING, 'freeoptions', 'freeshipper', 'perweightunit', 'storepickup');
$this->ship_flat_ui = "Standard flat-rate shipping";
Maybe I need to edit these entries also?
Woody
Re: Google Checkout module for Zen Cart (beta)
How do you test Google Checkout international shipping? Does Google allow you to set-up a second Buyers sandbox account, using a fictional foreign address? Maybe a question for Google support but wondering how you all do it.
Woody
Re: Google Checkout module for Zen Cart (beta)
Has anyone been able to get international (USPS) shipping options working?
I want GC to be an option for my international customers.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Further on up in googlecehckout.php ln 50-53
Code:
$this->shipping_support = array("flat", "item", "table", 'freeoptions', 'freeshipper', 'perweightunit', 'storepickup');
$this->shipping_display = array(GOOGLECHECKOUT_FLAT_RATE_SHIPPING, GOOGLECHECKOUT_ITEM_RATE_SHIPPING, GOOGLECHECKOUT_TABLE_RATE_SHIPPING, 'freeoptions', 'freeshipper', 'perweightunit', 'storepickup');
Maybe I need to edit these entries also?
Follow-up: I removed 'freeshipper' from the two array lists above and kept 'freeshipper' in the two mc_ arrays. And resumitted an order. Same error as before.
Code:
<error-message>Duplicate shipping name FREE SHIPPING! found.</error-message>
What we need is very clear step-by-step instructions/documentation on how to support a 'custom' shipping module. Since 'flexible' shipping module support is very new to the Google Checkout module, and the code framework is still being revised, I can understand why documentation takes second priority. But on the other hand how can we test if there is no documented procedures to follow? A paradigm if you will.
Maybe provide a clear step-by-step example for one or two shipping modules only. A good candidate for an example are the basic itemnational/iteminternational ship modules which I'm trying make work nice with Google Checkout :wink2:
Woody