VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => FedEx VM 1 => Topic started by: plusplus on August 05, 2011, 06:56:38 AM

Title: Pls. help,Error: FedEx Return Error E520 : Common rating error (both Express and
Post by: plusplus on August 05, 2011, 06:56:38 AM
I got this error on the shipping method "Error: FedEx Return Error E520 : Common rating error (both Express and Ground)."

what does it means how can I fix it?

(http://img6.uploadhouse.com/fileuploads/13624/1362452602afa3bfcd60046ad199ecac893f402a.png)



Title: FedEx Return Error E520 : Common rating error (both Express and Ground)
Post by: luHild on July 02, 2012, 14:46:55 PM
I'm having the same problem - FedEx Return Error E520 : Common rating error (both Express and Ground). And I know why - Fedex doesn't ship from -to Germany... I solved this first problem installing UPS, that allows those shipments, but I still have a fedex error - Does anyone know how can I hide it?
Title: Re: Pls. help,Error: FedEx Return Error E520 : Common rating error (both Express and
Post by: lowmips on July 03, 2012, 22:31:58 PM
YOu would need to modify the module to silently exit when the source and destination addresses are in Germany.  You could do that in the list_rates() function, assuming you are using the original fedex module.
Title: Re: Pls. help,Error: FedEx Return Error E520 : Common rating error (both Express and
Post by: luHild on July 04, 2012, 19:42:13 PM
WOW! I'm so glad that it works! I added    

if($vendor_country_2_code =='DE'){
         return false;
         }

and no more errors! I added it on line 72, at the end of the request of shopper's address, on the original module.

THANK YOU.  :-*