• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

muaddib2007
#1 Posted : Friday, December 14, 2007 5:31:23 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

I am using Structured Solutions <SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Is it necessary to have to add a region for every country? Has a fix or workaround been implemented?</P>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">[color=black></FONT>

<FONT face=Verdana color=black size=2>Thanks[/color]

<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">

<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">

<SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">

<BR style="PAGE-BREAK-BEFORE: always; mso-special-character: line-break" clear=all>
jetheredge
#2 Posted : Friday, December 14, 2007 5:35:31 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

I am unaware that this was the case. In countries with no regions there should be a text box to enter a region. Is anyone else seeing this issue or is it specific to people using Structured Solutions rate provider? I am able to retrieve rates with countries that have no regions.
Justin Etheredge
Senior Software Engineer
BVSoftware
birdsafe
#3 Posted : Friday, December 14, 2007 6:07:03 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Maybe you are using one of the "wrapped" methods provided by the Rate Provider. I use the Rate Provider and the 1-page checkout and have not seen this issue in either SP2 or SP3, and I have received orders recently from Ireland, Israel, Greece, Hong Kong, and South Korea, none of which have any regions -- all the USPS shipping options show up as expected.
muaddib2007
#4 Posted : Friday, December 14, 2007 6:27:44 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

Using the canada post rate provider, entering a region name does not retrieve rates.. Its only when the dropdown list of states is available for a country am I able to retrieve rates (which is of course problematic as its not feasible to enter a state for every country)

Thanks
Andy Miller
#5 Posted : Saturday, December 15, 2007 2:02:50 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: "Justin Etheredge" Go to Quoted Post

I am unaware that this was the case. In countries with no regions there should be a text box to enter a region. Is anyone else seeing this issue or is it specific to people using Structured Solutions rate provider? I am able to retrieve rates with countries that have no regions.


If there are no regions for a country, the 1-page checkout displays a textbox for the region, but there is no autocallback or ontextchanged event on the region field:

Code:

&lt;anthem:TextBox ID="ShippingstateField" TabIndex="1111" runat="server" Columns="10" Visible="False"&gt;&lt;/anthem:TextBox&gt;


There is both an AutoCallBack="true" and a SelectedIndexChanged event handler for the region field if it is displayed as a dropdown list.



The postal code has AutoCallBack="true", and a TextChanged event handler, but the shipping is not updated because the AddressIsValid method checks the RegionBvin (which is blank because there are no regions for the country):



Code:

Protected Function AddressIsValid(ByVal address As Contacts.Address) As Boolean
If RegionIsRequired(address) AndAlso String.IsNullOrEmpty(address.RegionBvin) Then
Me.ShippingMessage.Text = "Select a region name to calculate shipping"
Return False


A workaround is to add at least one region to the country (to force the region field to be displayed as a dropdown list and to pass the AddressIsValid verification).



A fix is to add AutoCallBack="True" and a TextChanged event handler to the textbox that is used for the region field when there are no regions defined; and to change the AddressIsValid method so that it verifies the RegionName instead of the RegionBvin.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
jetheredge
#6 Posted : Monday, December 17, 2007 7:52:42 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Thanks, well certainly look into this!
Justin Etheredge
Senior Software Engineer
BVSoftware
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012