USPS Postal Changes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anni tempo fa
Hey folks.  I'm running nopCommerce 1.90 and ran into the same issues with USPS.  We took a couple of steps:

1)  Setup a Web Tools Kit with USPS at https://secure.shippingapis.com/registration/

2)  Configure the USPS Shipping Rate Method.  Make sure you copy and paste your username and password from the email.  The URL that worked for me is http://production.shippingapis.com/ShippingAPI.dll.

3)  Find line 59 in ~/Modules/EstimateShipping.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)) %>

4)  Find line 12 in ~/Modules/CheckoutShippingMethod.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)); %>

Enjoy :)
12 anni tempo fa
seantibbKY wrote:
Hey folks.  I'm running nopCommerce 1.90 and ran into the same issues with USPS.  We took a couple of steps:

1)  Setup a Web Tools Kit with USPS at https://secure.shippingapis.com/registration/

2)  Configure the USPS Shipping Rate Method.  Make sure you copy and paste your username and password from the email.  The URL that worked for me is http://production.shippingapis.com/ShippingAPI.dll.

3)  Find line 59 in ~/Modules/EstimateShipping.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)) %>

4)  Find line 12 in ~/Modules/CheckoutShippingMethod.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)); %>

Enjoy :)


Resolved!

However, the funky characters (&lt;sup&gt;&amp;reg;&lt;/sup&gt;) still show up in my Packaging Slips and my Invoice PDFs.
Additionally, they are showing up in the automated email system when people purchase product. (ie Purchase receipts)

Please let me know where I can check into this.

Thanks!
12 anni tempo fa
Darkfire246 wrote:
Hey folks.  I'm running nopCommerce 1.90 and ran into the same issues with USPS.  We took a couple of steps:

1)  Setup a Web Tools Kit with USPS at https://secure.shippingapis.com/registration/

2)  Configure the USPS Shipping Rate Method.  Make sure you copy and paste your username and password from the email.  The URL that worked for me is http://production.shippingapis.com/ShippingAPI.dll.

3)  Find line 59 in ~/Modules/EstimateShipping.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)) %>

4)  Find line 12 in ~/Modules/CheckoutShippingMethod.ascx and update <%#Server.HtmlEncode(Eval("Name").ToString();%> to <%#Server.HtmlEncode(Eval("Name").ToString().Replace("&lt;sup&gt;&amp;reg;&lt;/sup&gt;",string.Empty)); %>

Enjoy :)

Resolved!

However, the funky characters (&lt;sup&gt;&amp;reg;&lt;/sup&gt;) still show up in my Packaging Slips and my Invoice PDFs.
Additionally, they are showing up in the automated email system when people purchase product. (ie Purchase receipts)

Please let me know where I can check into this.

Thanks!
12 anni tempo fa
However, the funky characters (&lt;sup&gt;&amp;reg;&lt;/sup&gt;) still show up in my Packaging Slips and my Invoice PDFs.
Additionally, they are showing up in the automated email system when people purchase product. (ie Purchase receipts)

Please let me know where I can check into this.

Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.