News:

Looking for documentation? Take a look on our wiki

Main Menu

Weird characters in USPS international shipping?

Started by deathdealer1252, March 17, 2011, 21:54:35 PM

Previous topic - Next topic

deathdealer1252

I can not find where these characters are coming from and it is only when I am doing international shipping.

USPS USPS GXG<sup>&trade;</sup> Envelopes** ($66.50)  -  1 - 3 business days

USPS Express Mail<sup>&reg;</sup> International Flat Rate Envelope ($29.95)  -  3 - 5 business days

USPS Priority Mail<sup>&reg;</sup> International ($29.50)  -  6 - 10 business days


I am using USPS 3.0 (2007/06/21) Corey Koltz. If anyone knows how to solve this problem that would be great.

The site is live, so if you want to check it out for your self go to https://www.orafrique.com and make sure when checking out your country is not united states.

lowmips

USPS updated its service names on Jan 1 2011.  The module is simply echo'ing out what was given to it.  At some point the rate is URL-encoded, so what you're seeing is those encodings instead of the characters they should be representing. To get rid of it you'd need to parse and strip out or replace any of the chars you do not want to see.

-Reggie
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)