|
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 |

|
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" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allowed-areas.allow-us-po-box
" value="false"/>
and here is the correct one
<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allow-us-po-box" value="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 < sales ebunlimited.com">sales 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" 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" 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-b | |