Closed steverobbins closed 6 years ago
It looks like this comes down to this method in \Magento\Usps\Model\Carrier
private function isServiceAvailable(\SimpleXMLElement $service)
{
foreach ($service->ExtraServices->children() as $child) {
if (filter_var($child->Available, FILTER_VALIDATE_BOOLEAN)) {
return true;
}
}
return false;
}
So now I'm wondering why extra services need to be available in order of the shipping method to be viable.
This was for Canada: https://github.com/magento/magento2/commit/b4c698a40a5774dea622914e5592267d025edc25
Maybe a more sophisticated fix is required to cover your case and not break previous one.
Running: 2.1.8 on LXC Debian 8 and since the last upgrade: "First-Class Mail Parcel" and "First-Class Mail Package Service" no longer show up as options. Many customers are forced to use "Priority Mail" costing double for no benefit.
Could this be related to the "Priority International" problem or something else?
The First-Class Mail Parcel service may be a different problem. I have read the postal service changed the name of the service on 9/1.
@steverobbins this method seems to be fixed for develop
in https://github.com/magento/magento2/pull/7729/files, just not backported to 2.1.x
yet.
Up for grabs!
Please backport together with https://github.com/magento/magento2/issues/10121#issuecomment-313324729
Closing as the fix for this issue is already available on Magento 2.2.0 branch.
Anyone, do not hesitate to create a backport to 2.1-develop
if needed, see https://community.magento.com/t5/Magento-DevBlog/Pull-Requests-for-2-1-x-Patch-Releases/ba-p/65630 for details.
@orlangur Was having the same issue, tried this https://github.com/magento/magento2/commit/69a0f5cea8c7297d4011493a188dd18df60ab8ac
It fixed for canda but having similar issues for united kingdom, any thoughts?
@DKoctopus no idea, didn't even reproduce the issue, try quickly checking git history of this file in 2.2-develop/2.3-develop, if no fix - you have to debug and fix by yourself, ideally contributing PR to a mainline.
Preconditions
Steps to reproduce
Expected result
Actual result
More info
You can see that
<Service ID="2">
is returned from USPS in thedebug.log
, andINT_2
is selected in allowed methods incore_config_data
.