I am getting this error in the log file.
ServiceErrors><ServiceError><Id>50050</Id><Description>The Origin ZIP Code and the Destination Postal Code is required for Priority Mail International when mailing to Canada.</Description></ServiceError>
It seems that USPS has changed their API for CANADA only and now it shows $0.00 fo the shipping cost.
ALL other countries are OK.
I am using OC Version 1.5.6.1
ServiceErrors><ServiceError><Id>50050</Id><Description>The Origin ZIP Code and the Destination Postal Code is required for Priority Mail International when mailing to Canada.</Description></ServiceError>
It seems that USPS has changed their API for CANADA only and now it shows $0.00 fo the shipping cost.
ALL other countries are OK.
I am using OC Version 1.5.6.1
Seeing the same thing on 1.5.6. I found clues here, but still trying to figure out how to fix OC:
http://magento.stackexchange.com/questi ... nal-broken
NOTE: It appears that Canadian customers can check out without choosing a shipping method, or paying for shipping at all. This is how it shows up on the invoice: (Estimated Time: ): $0.00
http://magento.stackexchange.com/questi ... nal-broken
NOTE: It appears that Canadian customers can check out without choosing a shipping method, or paying for shipping at all. This is how it shows up on the invoice: (Estimated Time: ): $0.00
I have fixed the issue, still working on a vqmod.
In the file:
Around line 284 you'll find:
Insert the following after line 284:
Around line 306 you'll find:
Insert the following after line 306:
That seems to work.
I did a quick check and it looks like this will affect everything up until the latest 2.0.x release. I will work on a vqmod and submitting this to the main codebase.
In the file:
Code: Select all
catalog/model/shipping/usps.php
Code: Select all
$xml = '<IntlRateV2Request USERID="' . $this->config->get('usps_user_id') . '">';
Code: Select all
$xml .= ' <Revision>2</Revision>';
Code: Select all
$xml .= ' <Girth>' . $this->config->get('usps_girth') . '</Girth>';
Code: Select all
if ($address['iso_code_2'] == 'CA') {
$xml .= ' <OriginZip>' . substr($this->config->get('usps_postcode'), 0, 5) . '</OriginZip>';
}
I did a quick check and it looks like this will affect everything up until the latest 2.0.x release. I will work on a vqmod and submitting this to the main codebase.
Attached is the vqmod I am using with 1.5.6.
Attachments
VQ Mod for USPS Canada API update
Also on 1.5.6.1, experiencing similar problems.
Identical symptoms to OP. I haven't found any updated code anywhere yet.
Code: Select all
<ServiceErrors><ServiceError><Id>50050</Id><Description>The Origin ZIP Code and the Destination Postal Code is required for Priority Mail International when mailing to Canada.</Description></ServiceError></ServiceErrors>
I guess we didn't search hard enough 
There is a fix here:
http://forum.opencart.com/viewtopic.php ... &start=140
I updated the usps.php file with the instructions from henkster on that page it worked.

There is a fix here:
http://forum.opencart.com/viewtopic.php ... &start=140
I updated the usps.php file with the instructions from henkster on that page it worked.
Mine works by just doing the opposite of this:
http://forum.opencart.com/viewtopic.php ... hp#p564426
I just changed it to variable and the Canada quotes work again. Is this OK or should I do the update as suggested above.
http://forum.opencart.com/viewtopic.php ... hp#p564426
I just changed it to variable and the Canada quotes work again. Is this OK or should I do the update as suggested above.
You are correct, this solved the issue for me:
http://forum.opencart.com/viewtopic.php ... 40#p564292
http://forum.opencart.com/viewtopic.php ... 40#p564292
Who is online
Users browsing this forum: No registered users and 142 guests