Closed amphibian closed 2 years ago
Completely overlooked this for international shipments at the time, thanks for that. I've just added/fixed this for the next version. To get the fix early, change your verbb/postie
requirement in composer.json
to:
"require": {
"verbb/postie": "dev-craft-3 as 2.4.15",
"...": "..."
}
Then run composer update
.
Thanks Josh, appreciated!
Released in 2.4.16
When using the Canada Post integration, rates cannot be retrieved for destinations outside of Canada. This is because Postie will always send the destination to Canada Post's API using the
<domestic>
node, as opposed to the<united-states>
or<international>
nodes as needed. Thus a US destination returns an error from Canada Post such as:(This is because it's actually a US zip code.)
Fix
In the Canada Post provider file, replace the contents of the
<destination>
node with something like this:Additional info