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>
|
|
|
|
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 |
|
|
|
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. |
|
|
|
|
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
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: "Justin Etheredge" 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: <anthem:TextBox ID="ShippingstateField" TabIndex="1111" runat="server" Columns="10" Visible="False"></anthem:TextBox>
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. |
|
|
|
|
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.