When there is only one error from FedEx, each member variable is printed in the drupal_set_message function instead of just the severity and message of the error. This is similar to #528600: uc_tracking results don't match fedex.com prior to pickup?. I attached a patch with my first attempt to correct this and make it more user friendly. I also added more detail to the status message displayed to the user when the error code is 9040 (No information for the following shipments has been received by FedEx).

It might be helpful to be able to configure the status messages, either with a theme function or a settings page.

CommentFileSizeAuthor
#1 error-notifications-1251318.patch1.43 KBLonitaD

Comments

LonitaD’s picture

StatusFileSize
new1.43 KB

Here is the patch.

tr’s picture

Category: feature » bug
Status: Needs review » Fixed

Sorry, I committed a fix for this locally a long time ago, but never pushed it into the official release. That's done now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.