close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

USPS Shipping Error

Thread began 6/07/2009 6:17 am by Travis250923 | Last modified 7/15/2009 8:19 am by Travis250923 | 6624 views | 15 replies

anonymous

Thanks for the email Ray. The bugs are as follows:
Mostly this is a result of the post office moving from V2 to V3 rate calculator.
1. When service = FIRST CLASS there is an optional field which is now required. It is call FirstClassMailType and is enumerated as LETTER, FLAT, OR PARCEL. This service is good to 13 oz, then is should revert to service=PRIORITY. I made this change at line 47 in WA_eCart_USPS_PHP.php:
$USPS_XML .= "<FirstClassMailType>" . $USPS_Parameters["FirstClassMailType"] . "</FirstClassMailType>";
There has to be a corresponding change to the Globals file for FirstClassMailType. I think that's all the changes I had to make for this one. If not they'll fall out in the wash when you run it.
2. US is no longer accepted, now it has to be USA. I think I ran into this one in PowerStore. As I remember the drop down left me with US which then failed and it thought I was shipping international. Might have to play with this one a bit to sort it out.
3. This was already addressed here.
if (strtoupper($USPS_Parameters["CarrierCode"]) == "PARCEL" && strtoupper($USPS_Parameters["CarrierCode"]) == "ALL")
Change from "and" to "or"

Hopefully all this can be put together for the next release.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...