ACSD-61622: FedEx account specific rates are missing in REST API response
The ACSD-61622 patch resolves the issue where FedEx’s account specific rates are missing from the REST API response. It adds the ACCOUNT
rate request type to the REST API request sent from ÃÛ¶¹ÊÓƵ Commerce to FedEx, which returns a response similar to SOAP API response. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-61622. Please note that the issue is scheduled to be fixed in ÃÛ¶¹ÊÓƵ Commerce 2.4.8.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓƵ Commerce version:
- ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.6-p5
Compatible with ÃÛ¶¹ÊÓƵ Commerce versions:
- ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.6-p1 - 2.4.6-p8
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
FedEx’s account specific rates are missing from the REST API response.
Steps to reproduce:
-
Install a clean ÃÛ¶¹ÊÓƵ Commerce instance.
-
Create a simple product with a weight of 5 lbs.
-
Configure FedEx for REST API.
-
Enable FedEx shipping method and clear the cache.
-
Start observing the log file:
var/log/shipping.log
-
Add a simple product to the cart and go to the shipping page on checkout. Example of customer data:
- Postcode: 58601
- Names: John Doe
- Address: 196 Eulalia Burg
- Country: US
- State: North Dakota
- Phone number: 187-563-3627
Expected results:
PAYOR_ACCOUNT_PACKAGE
rates are available in the REST API response, similar to SOAP API responses.
Actual results:
Only PAYOR_LIST_PACKAGE
rates are available in the response, which means there are no negotiated (account) rates from FedEx.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓƵ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓƵ Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.