List Info

Thread: Re: how to exclude po box and ship only to 48 states using HTML ap




Re: how to exclude po box and ship only to 48 states using HTML ap
user name
2007-06-21 09:22:35
hi
i think u have an issue in ur structure, the
allow-us-po-box
tag u are putting it as a Subtag  of the
allowed-areas
tag, when is a Subtag of shipping-restriction or address-filter as u can see here
http://code.google.com/apis/checkout/developer/index.html#tag_allow-us-po-box

u have this one
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allowed-areas.allow-us-po-box
" value=&quot;false&quot;/>
and here is the correct one
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allow-us-po-box&quot; value=&quot;true";/>


this one was created with the XML 2 HTML tool i coded and u can find here
http://demo.globant.com/~brovagnati/tools/ => xml2html

Note to jacob, docs bug
http://code.google.com/apis/checkout/developer/index.html#tag_shipping-restrictions doesnt have allow-us-po-box as subtag

as http://code.google.com/apis/checkout/developer/index.html#tag_address-filters it does has.

hope this helps

ropu

On 6/21/07, eb < salesebunlimited.com">salesebunlimited.com> wrote:

Hi,

I';ve tried the code below but it just doesn't work. First of all, it
would still allow shipping to PO Box Address even if I added the tag
<allow-us-po-box> and set to false. Second, it would allow shipping
addresses from Alaska and Hawaii even if I specifically put the value
&quot;CONTINENTAL_48". Please let me know what I'm doing wrong or if I'm
still missing any tags.


&nbsp; &lt;input type=";hidden&quot; name=";item_name_1" value=&quot;$itemSKU1">
 &nbsp;<input type=";hidden&quot; name=";item_description_1&quot; &nbsp;value=&quot;$itemName1"&gt;
 &nbsp;<input type=";hidden&quot; name=";item_quantity_1" value=$itemQty1>
&nbsp; <input type=";hidden&quot; name=";item_price_1" value=&quot;$itemPrc1"/>


  <input type=";hidden&quot; name=";item_name_2" value=&quot;$itemSKU2">
  ;<input type=";hidden&quot; name=";item_description_2&quot; value=&quot;$itemName2">
 &nbsp;<input type=";hidden&quot; name=";item_quantity_2" value=$itemQty2>
 &nbsp;<input type=";hidden&quot; name=";item_price_2" value=&quot;$itemPrc2"/>



 &nbsp;<input type=";hidden&quot; name=";item_name_3" value=&quot;$itemSKU3">
  ;<input type=";hidden&quot; name=";item_description_3&quot; &nbsp;value=&quot;$itemName3"&gt;
 ; <input type=";hidden&quot; name=";item_quantity_3" value=$itemQty3>
&nbsp; <input type=";hidden&quot; name=";item_price_3" value=&quot;$itemPrc3"/>


<input type=";hidden&quot; name="; checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-1.name"
value="$shipMethodName1"/>
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-1.price&quot;
value="$shipMethodPrice1"/&gt;
<input type=";hidden&quot; name="; checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-1.shipping-
restrictions.allowed-areas.allow-us-po-box" value=&quot;false&quot;/>
<;input type=";hidden&quot; name="; checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-1.shipping-
restrictions.allowed-areas.us-country-area.country-area";
value=&quot;CONTINENTAL_48";/>


<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-2.name "
value=";$shipMethodName2";/>
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-2.price&quot;
value="$shipMethodPrice2"/&gt;
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-2.shipping-
restrictions.allowed-areas.allow-us-po-box" value=&quot;false&quot;/>
&lt;input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-2.shipping-
restrictions.allowed-areas.us-country-area.country-area"
value=&quot;CONTINENTAL_48";/>

<;input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-3.name "
value=";$shipMethodName3";/>
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-3.price&quot;
value="$shipMethodPrice3"/&gt;
<input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-3.shipping-
restrictions.allowed-areas.allow-us-po-box" value=&quot;false&quot;/>
&lt;input type=";hidden&quot; name=";checkout-flow-support.merchant-checkout-
flow-support.shipping-methods.flat-rate-shipping-3.shipping-
restrictions.allowed-areas.us-country-area.country-area"
value=&quot;CONTINENTAL_48";/>

Thank you very much.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "API Integration Basics&quot; group.
To post to this group, send email to google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checkout-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: how to exclude po box and ship only to 48 states using HTML ap
country flaguser name
United States
2007-06-21 11:02:43
Hi Ropu,

I tried what you said and it worked. The thing is I saw this
in the
Google docs that <allow-us-po-box> tag is a subtag of
<allowed-areas>.
But thanks a lot. Anyway, about APO or military addresses,
if I don't
want to ship to these military addresses, will this
<allow-us-po-box>
take care of it?  Thank you very much. I really appreciate
your help.



On Jun 21, 10:22 am, Ropu <rovagn...gmail.com> wrote:
> hi
> i think u have an issue in ur structure, the
>
> allow-us-po-box
>
> tag u are putting it as a Subtag  of the
>
> allowed-areas
>
> tag, when is a Subtag of shipping-restriction or
address-filter as u can see
> herehttp://code.google.com/apis/checkout/dev
eloper/index.html#tag_allow-u...
>
> u have this one
>
> <input type="hidden"
>
name="checkout-flow-support.merchant-checkout-flow-supp
ort.shipping-methods-.flat-rate-shipping-1.shipping-restrict
ions.allowed-areas.allow-us-po-box"
> value="false"/>
>
> and here is the correct one
>
> <input type="hidden"
>
name="checkout-flow-support.merchant-checkout-flow-supp
ort.shipping-methods-.flat-rate-shipping-1.shipping-restrict
ions.allow-us-po-box"
> value="true"/>
>
> this one was created with the XML 2 HTML tool i coded
and u can find herehttp:
//demo.globant.com/~brovagnati/tools/=> xml2html
>
> Note to jacob, docs bughttp://code.google.com/apis/checkout/dev
eloper/index.html#tag_shippin...
> have allow-us-po-box as subtag
>
> ashttp://code.google.com/apis/checkout/dev
eloper/index.html#tag_address...
> does has.
>
> hope this helps
>
> ropu
>
> On 6/21/07, eb <s...ebunlimited.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I've tried the code below but it just doesn't
work. First of all, it
> > would still allow shipping to PO Box Address even
if I added the tag
> > <allow-us-po-box> and set to false. Second,
it would allow shipping
> > addresses from Alaska and Hawaii even if I
specifically put the value
> > "CONTINENTAL_48". Please let me know
what I'm doing wrong or if I'm
> > still missing any tags.
>
> >   <input type="hidden"
name="item_name_1"
value="$itemSKU1">
> >   <input type="hidden"
name="item_description_1" 
value="$itemName1">
> >   <input type="hidden"
name="item_quantity_1" value=$itemQty1>
> >   <input type="hidden"
name="item_price_1"
value="$itemPrc1"/>
>
> >   <input type="hidden"
name="item_name_2"
value="$itemSKU2">
> >   <input type="hidden"
name="item_description_2"
value="$itemName2">
> >   <input type="hidden"
name="item_quantity_2" value=$itemQty2>
> >   <input type="hidden"
name="item_price_2"
value="$itemPrc2"/>
>
> >   <input type="hidden"
name="item_name_3"
value="$itemSKU3">
> >   <input type="hidden"
name="item_description_3" 
value="$itemName3">
> >   <input type="hidden"
name="item_quantity_3" value=$itemQty3>
> >   <input type="hidden"
name="item_price_3"
value="$itemPrc3"/>
>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-1.name"
;
> > value="$shipMethodName1"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-1.price&quo
t;
> > value="$shipMethodPrice1"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-1.shipping-

> > restrictions.allowed-areas.allow-us-po-box"
value="false"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-1.shipping-

> >
restrictions.allowed-areas.us-country-area.country-area"
;
> > value="CONTINENTAL_48"/>
>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-2.name"
;
> > value="$shipMethodName2"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-2.price&quo
t;
> > value="$shipMethodPrice2"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-2.shipping-

> > restrictions.allowed-areas.allow-us-po-box"
value="false"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-2.shipping-

> >
restrictions.allowed-areas.us-country-area.country-area"
;
> > value="CONTINENTAL_48"/>
>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-3.name"
;
> > value="$shipMethodName3"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-3.price&quo
t;
> > value="$shipMethodPrice3"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-3.shipping-

> > restrictions.allowed-areas.allow-us-po-box"
value="false"/>
> > <input type="hidden"
name="checkout-flow-support.merchant-checkout-
> >
flow-support.shipping-methods.flat-rate-shipping-3.shipping-

> >
restrictions.allowed-areas.us-country-area.country-area"
;
> > value="CONTINENTAL_48"/>
>
> > Thank you very much.
>
> --
> .-. --- .--. ..-
> R  o  p  u- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )