I have an attribute of "Sample" on each item that will ship free. I've set the weight to zero for that attribute and have a Flat Rate shipping condition such that zero-weight orders ship free.

I have Error Reporting set to write errors to the log only. But when I select free shipping and go to review my order, this still displays at the top of the page.

Error in processing FedEx Shipping Quote transaction.
ERROR
crs
809
Package 1 - Weight is missing or invalid.
Package 1 - Weight is missing or invalid.

Did I miss a way to turn this error reporting off? Is there a better way of doing what I would like to do? Note: I have the FedEx Server Role set to Testing since I'm shipping through my FedEx shipping machine that's already integrated with my company's ERP.

Comments

sveldkamp’s picture

Category: support » bug

Changing to bug report. I think that's what I meant. If it needs to change I'm sure someone will change it.

sveldkamp’s picture

Obvious workaround is to theme it away, which I've done.

tr’s picture

Category: bug » support

Note: I have the FedEx Server Role set to Testing since I'm shipping through my FedEx shipping machine that's already integrated with my company's ERP.

Shipping *quotes* are simply quotes - they don't generate a pickup request or label or anything else like that. They function exactly like the rate calculator on FedEx's web site. Nothing more. You should be using the production server because it is high-availability and has more accurate numbers that the testing server. In particular, if you have account rates, the testing server won't return those.

The error is there because you should not be attempting to get quotes for zero weight packages. If you want to use that trick with the attribute, then in addition to your condition that checks the order weight and quotes a free rate if the weight is zero, you should set a condition to check the order weight and NOT quote FedEx.

I'm not aware of a setting to "write errors to the log only".

I don't consider this behavior a bug because I think the error *should* show if there's a zero-weight package that you're trying to quote. That means there's something wrong in your configuration, and that should be corrected before your site goes live.

sveldkamp’s picture

Thanks for the help. I'll try to set up that condition and switch to the production server.

The error reporting setting I was talking about is at admin/settings/error-reporting.