Page 1 of 1
Garbled code displayed at checkout for USPS shipping
Posted: Thu Jan 06, 2011 10:11 pm
by ozgirl57
USPS updated their fees a few days ago and I just noticed that my shopping cart now displays some garbled code along with incorrect options at checkout and the garbled code prints out on the invoice as well. The charges appear to be calculating properly.
I have my USPS options set for priority mail and first class mail, and this is now what's displayed ...
Priority Mail<sup>®</sup> $5.95
First-Class Mail<sup>®</sup> Large Envelope $2.92
It used to show "First Class Mail Parcel" now shows "First Class Mail Large Envelope".
Is this an easy fix that I can do myself or does the module need to be looked at perhaps?
Thanks for your help; this is an awesome shopping cart

Re: Garbled code displayed at checkout for USPS shipping
Posted: Thu Jan 06, 2011 11:25 pm
by Johnathan
The USPS module will need to be updated. Qphoria was working on this, although USPS hasn't publicly released their new API, which is slowing progress. Hopefully we'll have a fix soon.
Re: Garbled code displayed at checkout for USPS shipping
Posted: Fri Jan 07, 2011 12:20 am
by Qphoria
Patch for the core version of USPS to work with the Jan 01, 2011 changes
1. Upload these 2 folders to your store root.
- 2 files are replaced
This does not have the new May 2011 api changes, just the fix for the Jan 2011 issue
Re: Garbled code displayed at checkout for USPS shipping
Posted: Fri Jan 07, 2011 1:45 am
by popsdaddy
I am using Version 1.4.9.2. Thank you for the usps.php patch. The garbled output is now gone but when I check "First Class" in "Domestic Services" of the "United States Postal Service" shipping module what gets displayed in the "Shipping Method" during checkout is "First-Class Mail Postcards" vice just "First Class Mail". Also, the price reflects the First Class Mail Postcards rate. Once again, thanks for the quick fix.
Re: Garbled code displayed at checkout for USPS shipping
Posted: Fri Jan 07, 2011 2:30 am
by ozgirl57
Thank you so much for the quick fix - as popsdaddy mentioned the garbled code has now disappeared although it's still showing First Class "large envelope" instead of "package" - but the pricing is correct so it's a small thing.
Thanks again for the awesome service which is far superior to the service I've had with some paid services. You guys rock!

Re: Garbled code displayed at checkout for USPS shipping
Posted: Tue Jan 18, 2011 10:23 am
by Sidecutter
Hi Qphoria, by any chance have the small glitches mentioned above with this patch been fixed?
Also, if USPS is going to change the way their system works in ways that will affect other systems using it, they damn well need to release the new API BEFOREHAND, so people can program for the changes. Dick move, USPS.
Re: Garbled code displayed at checkout for USPS shipping
Posted: Sun Jan 30, 2011 12:48 pm
by nashefm
Qphoria
your awesome man

, i see your name all over the forum, i just put the files for the USPS glitch and they work great, thanks again...
Re: Garbled code displayed at checkout for USPS shipping
Posted: Wed Feb 16, 2011 11:23 am
by dzynz
I just used this fix, and it works like a charm. With one exception. It's still garbled in the invoices. Any advice on how to fix this?
Re: Garbled code displayed at checkout for USPS shipping
Posted: Thu Mar 03, 2011 4:08 am
by counter-revolution
Qphoria you're the man! Thanks for all the hard work. It worked perfectly!!
Re: Garbled code displayed at checkout for USPS shipping
Posted: Thu Apr 07, 2011 12:35 pm
by canadian
Qphoria wrote:Patch for the core version of USPS to work with the Jan 01, 2011 changes
1. Upload these 2 folders to your store root.
- 2 files are replaced
This does not have the new May 2011 api changes, just the fix for the Jan 2011 issue
Beautiful. Thank you for your contribution!
Re: Garbled code displayed at checkout for USPS shipping
Posted: Thu Apr 07, 2011 8:54 pm
by Qphoria
canadian wrote:Qphoria wrote:Patch for the core version of USPS to work with the Jan 01, 2011 changes
1. Upload these 2 folders to your store root.
- 2 files are replaced
This does not have the new May 2011 api changes, just the fix for the Jan 2011 issue
Beautiful. Thank you for your contribution!
Seems an odd thing for you to post... based on your name
Re: Garbled code displayed at checkout for USPS shipping
Posted: Thu Apr 07, 2011 9:03 pm
by Johnathan
Qphoria wrote:Seems an odd thing for you to post... based on your name

Re: Garbled code displayed at checkout for USPS shipping
Posted: Sun Apr 10, 2011 4:22 am
by canadian
Qphoria wrote:canadian wrote:Qphoria wrote:Patch for the core version of USPS to work with the Jan 01, 2011 changes
1. Upload these 2 folders to your store root.
- 2 files are replaced
This does not have the new May 2011 api changes, just the fix for the Jan 2011 issue
Beautiful. Thank you for your contribution!
Seems an odd thing for you to post... based on your name
Haha! Are Canadians not known for thanking people?
Re: Garbled code displayed at checkout for USPS shipping
Posted: Sun Apr 10, 2011 11:36 pm
by Qphoria
canadian wrote:Haha! Are Canadians not known for thanking people?
No, I'm referring to the fact that you are "Canadian" and this is a "US Post Office" extension. Like if someone named "usa" would say "thanks for the canada post mod" I'd say the same thing
Re: Garbled code displayed at checkout for USPS shipping
Posted: Sat Dec 17, 2011 2:04 pm
by Medina
The patch works perfectly, thanks for the input (1.4.9.1)
Re: Garbled code displayed at checkout for USPS shipping
Posted: Tue Jul 30, 2013 1:14 am
by richdtt
USPS just released another API update as of July 28, 2013. And it looks like the <sup>™</sup> and <sup>®</sup> are back. Are there updated patches for this?
Re: Garbled code displayed at checkout for USPS shipping
Posted: Tue Jul 30, 2013 2:05 am
by Qphoria