9 messages in com.googlegroups.google-checkout-api-ukRe: UK vendor shipping worldwide
FromSent OnAttachments
BrianW24 Aug 2007 06:21 
BrianW24 Aug 2007 09:12 
BrianW25 Aug 2007 00:06 
pablof27 Aug 2007 12:20 
jiri29 Aug 2007 08:25 
Ropu29 Aug 2007 14:18 
jiri30 Aug 2007 07:57 
Ropu30 Aug 2007 10:33 
pablof30 Aug 2007 10:48 
Subject:Re: UK vendor shipping worldwide
From:jiri (j.@mekom.com)
Date:08/29/2007 08:25:10 AM
List:com.googlegroups.google-checkout-api-uk

Pls. I want to sell our product for UK users ONLY. Is there some similar function for ShippingRestrictions which is just for U.S. code only ??

It's mean something like this :

CheckoutShoppingCartRequest Req = new GCheckoutButton().CreateRequest(); ShippingRestrictions UkOnly = new ShippingRestrictions(); UkOnly.AddAllowedStateCode("GBP"); // this is wrong of course

Thanks for advise.

Jiri

On 27 Srp, 21:20, pablof <pab@gmail.com> wrote:

did you try adding an address filter (in addition to the shipping-restriction) to the merchant-calculated-shipping?

On 8/25/07, BrianW <br.@graith.co.uk> wrote:

I found out more. If I use fixed shipping methods using this code in my XM:

<flat-rate-shipping name="Flat Rate: Flat Rate Per Order"> <price currency="GBP">3</price> <shipping-restrictions> <allow-us-po-box>true</allow-us-po-box> <allowed-areas> <us-country-area country-area="ALL" /> </allowed-areas> </shipping-restrictions> </flat-rate-shipping> <flat-rate-shipping name="Flat Rate: Flat Rate Per Order intl"> <price currency="GBP">3</price> <shipping-restrictions> <allow-us-po-box>true</allow-us-po-box> <allowed-areas> <world-area /> </allowed-areas> <excluded-areas> <postal-area> <country-code>US</country-code> </postal-area> </excluded-areas> </shipping-restrictions> </flat-rate-shipping> <flat-rate-shipping name="Item: Flat Rate Per Item"> <price currency="GBP">2.5</price> <shipping-restrictions> <allow-us-po-box>true</allow-us-po-box> <allowed-areas> <us-country-area country-area="ALL" /> </allowed-areas> </shipping-restrictions> </flat-rate-shipping>

It works. If I use merchant calculated shipping with this xml code, it doesn't work:

<merchant-calculated-shipping name="Per Item"> <price currency="GBP">2.5000</price> <shipping-restrictions> <allow-us-po-box>true</allow-us-po-box> <allowed-areas> <world-area /> </allowed-areas> <excluded-areas> <postal-area> <country-code>GB</country-code> </postal-area> </excluded-areas> </shipping-restrictions> </merchant-calculated-shipping>

This (I think) should have allowed shipping to anywhere in the world but Great Britain. It doesn't. That suggest to me a problem with either the documentation or Google's Checkout with the merchant calculation.

I looked at Ropu's code for OSC and that doesn't use merchant- calculated-shipping

- Zobrazit citovaný text -