magento-lts
magento-lts copied to clipboard
Add Fedex REST API rate and tracking functionality, to co-exist with Fedex WSDL
Description (*)
Add Fedex REST API rate and tracking functionality, to co-exist with Fedex WSDL. The reason is that Fedex WSDL still functions. But Fedex starts to require some accounts to use REST API (in my actual case), and stopped one of my accounts to use WSDL.
Fixed Issues (if relevant)
- Fixes OpenMage/magento-lts#3308
Manual testing scenarios (*)
- Use Fedex shipping method, get quotation from Fedex test server
- Use Fedex shipping method, get quotation from Fedex production server (I've used the code in production)
- Use Fedex shipping method, to track the shipment in openmage backend and frontend, when clicking the fedex shipment number 123456789012 for both Fedex test and productions server (I've used the code in production)
Questions or comments
The change requires PHP 8.1 and above, as the package shipstream/fedex-rest-sdk requires.
Someone using FEDEX to test it?
Figured I would try the Copilot reviewer here. FedEx will be retiring Web Services on 6/1/26 (per a recent reminder email), which I suppose was pushed back from the original May '24 date, and as @xqiu mentioned, new accounts can potentially no longer access the SOAP API. I'll keep an eye on this one and do some testing myself in the coming weeks, but if any other maintainer has an account (and the time 😄) to test it would be great to push this through.
Quality Gate passed
Issues
11 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.4% Duplication on New Code
