{"action":"created","issue":{"url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/45","repository_url":"https://api.github.com/repos/kylewest/DotNetShipping","labels_url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/45/comments","events_url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/45/events","html_url":"https://github.com/kylewest/DotNetShipping/issues/45","id":149610016,"number":45,"title":"Canadian UPS Shipping","user":{"login":"OpacityKelly","id":10169935,"avatar_url":"https://avatars.githubusercontent.com/u/10169935?v=3","gravatar_id":"","url":"https://api.github.com/users/OpacityKelly","html_url":"https://github.com/OpacityKelly","followers_url":"https://api.github.com/users/OpacityKelly/followers","following_url":"https://api.github.com/users/OpacityKelly/following{/other_user}","gists_url":"https://api.github.com/users/OpacityKelly/gists{/gist_id}","starred_url":"https://api.github.com/users/OpacityKelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpacityKelly/subscriptions","organizations_url":"https://api.github.com/users/OpacityKelly/orgs","repos_url":"https://api.github.com/users/OpacityKelly/repos","events_url":"https://api.github.com/users/OpacityKelly/events{/privacy}","received_events_url":"https://api.github.com/users/OpacityKelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T23:19:40Z","updated_at":"2016-04-20T05:02:29Z","closed_at":null,"body":"Hi guys! I can't seem to get Canadian addresses with postal codes to work. Please let me know if I'm missing something. Also, I need to get rates for Canada to US. US to US works great though. Any help would be great - Much appreciated!\r\n\r\n\r\n                var packages = new List<Package>();\r\n                foreach (var item in dovm.OrderItems.ToList())\r\n                    foreach (var box in item.Boxes)\r\n                        packages.Add(new Package(box.Length, box.Width, box.Height, box.Weight, item.Price));\r\n\r\n                var origin = new Address(\"\", \"\", \"V3S8E5\", \"CA\");\r\n                var destination = new Address(\"\", \"\", \"T8E2C7\", \"CA\"); // US Address\r\n\r\n                var rateManager = new RateManager();\r\n\r\n                rateManager.AddProvider(new UPSProvider(upsLicenseNumber, upsUserId, upsPassword));\r\n                Shipment shipment = rateManager.GetRates(origin, destination, packages);\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/comments/212257614","html_url":"https://github.com/kylewest/DotNetShipping/issues/45#issuecomment-212257614","issue_url":"https://api.github.com/repos/kylewest/DotNetShipping/issues/45","id":212257614,"user":{"login":"kylewest","id":6247,"avatar_url":"https://avatars.githubusercontent.com/u/6247?v=3","gravatar_id":"","url":"https://api.github.com/users/kylewest","html_url":"https://github.com/kylewest","followers_url":"https://api.github.com/users/kylewest/followers","following_url":"https://api.github.com/users/kylewest/following{/other_user}","gists_url":"https://api.github.com/users/kylewest/gists{/gist_id}","starred_url":"https://api.github.com/users/kylewest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylewest/subscriptions","organizations_url":"https://api.github.com/users/kylewest/orgs","repos_url":"https://api.github.com/users/kylewest/repos","events_url":"https://api.github.com/users/kylewest/events{/privacy}","received_events_url":"https://api.github.com/users/kylewest/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T05:02:29Z","updated_at":"2016-04-20T05:02:29Z","body":"I just tried this in the same app with my account login and your addresses and it worked.\r\n\r\n![screen shot 2016-04-20 at 12 59 36 am](https://cloud.githubusercontent.com/assets/6247/14663861/3f24e116-0693-11e6-828f-68af987cd4b3.png)\r\n\r\n* Are you sure `packages.Count() > 0`?\r\n* Does your UPS account have access to the Canadian rates (I'm not sure you can get an account without access to those rates, but something to consider).\r\n\r\nKyle"}}