kylewest / DotNetShipping

UPS, FedEx, USPS shipping rate calculators for .NET
MIT License
78 stars 66 forks source link

UPS International rate is not correct #58

Closed amart7 closed 7 years ago

amart7 commented 7 years ago

@kylewest For address: InternationalAddress = new DotNetShipping.Address("345A Forbes Road Zone 6 - Meadowlands", "", "", "Johannesburg", "", "1852", "ZA");

it returns incorrect UPS shipping rate. Package weight: 1.4 pounds From address: DomesticAddress = new DotNetShipping.Address("3701 Algonquin Road", "", "", "Rolling Meadows", "IL", "60008", "US"); southafrica

kylewest commented 7 years ago

Which rate is incorrect and what is the correct amount? Some things to check:

  1. Are you using negotiated rates?
  2. Have you implemented an IRateAdjuster that is manipulating the rates?

I used the same addresses and got different rates but I also don't know your package dimensions or insured value.

screenshot-2017-01-24-at-09-44-22

var packages = new List<Package>();
packages.Add(new Package(12, 12, 4, 1.4M, 0));

var origin = new DotNetShipping.Address("3701 Algonquin Road", "", "", "Rolling Meadows", "IL", "60008", "US");
var destination = new DotNetShipping.Address("345A Forbes Road Zone 6 - Meadowlands", "", "", "Johannesburg", "", "1852", "ZA");
amart7 commented 7 years ago

@kylewest
Do you think it costs $200+ to send 1.4 pounds package to South Africa? Answers: 1. I am not using negotiated rate.

  1. Adjuster IRateAdjuster is not used/implemented.

Package: private readonly Package PackageInternational; PackageInternational = new Package(13, 1, 2, (decimal)1.4, 0); image

amart7 commented 7 years ago

@kylewest By the way correct rate should be $87.22 image

kylewest commented 7 years ago

I have no idea how much it costs to ship to south africa, but yes it looks expensive:

screenshot-2017-01-24-at-12-14-49

kylewest commented 7 years ago

Your screenshot shows: