VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => USPS (U.S. Postal Service) VM 1 => Topic started by: deathdealer1252 on March 17, 2011, 21:54:35 PM

Title: Weird characters in USPS international shipping?
Post by: deathdealer1252 on March 17, 2011, 21:54:35 PM
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 (https://www.orafrique.com) and make sure when checking out your country is not united states.
Title: Re: Weird characters in USPS international shipping?
Post by: lowmips on March 23, 2011, 02:57:26 AM
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