DNN: 5.6.3
Portal has localization for both en-US and fr-CA.
SC: 4.50 Trial
Working Scenario: Buyer has IE9 set to English (United States) from Internet Options > Languages. He logins to portal and goes to SC page, adds an item to cart and goes to view cart. Then he inputs his address data and zipCode with one of the available shipping options. And then he clicks on Calculate shipping. Shipping Calculator works. (zipCodes are in this format: *** *** [e.g. H4N 1F6]
Scenario Throwing an input String Error: Buyer has IE9 set to French (Canada) (fr-CA) from Internet Options > Languages. He logins to portal and goes to SC page, adds an item to cart and goes to view cart. Then he inputs his address data and zipCode with one of the available shipping options. And then he clicks on Calculate shipping. Shipping Calculator throws following error:
AssemblyVersion: 5.6.3
PortalID: 0
PortalName: SomeShop
UserID: 5
UserName: HelloWorld
ActiveTabID: 76
ActiveTabName: Store
RawURL: /Store/tabid/76/ctl/Cart/mid/439/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.Store.com/Store/tabid/76/ctl/Cart/mid/439/Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: dd5b5dfa-3dd2-42f4-b274-fa192d2841a3
InnerException: Input string was not in a correct format.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToDecimal(String value) at Smith.DNN.Modules.BuyNow.Cart.GetTotalAfterTax() at Smith.DNN.Modules.BuyNow.Cart.UpdateTotalLabel() at Smith.DNN.Modules.BuyNow.Cart.btnApply_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WIN-Store
My notes: My friend told me about using commas or dots in Shipping Rates, he say that they are using commas, while module accepts dots for decimals. Maybe this is the reason why shipping calculation fails to complete and throw an exception.
Can you reproduce and provide a fix?
We are very close to complete our tests and we will buy licenses for multiple concepts. I'm attaching a fr-CA localization pack in case you need it for testing.