Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedex REST API rate and tracking functionality, to co-exist with Fedex WSDL #4374

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

xqiu
Copy link

@xqiu xqiu commented Nov 21, 2024

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)

  1. Fixes FedEx WSDLS will be retired on May 15, 2024, need to use RESTful API #3308

Manual testing scenarios (*)

  1. Use Fedex shipping method, get quotation from Fedex test server
  2. Use Fedex shipping method, get quotation from Fedex production server (I've used the code in production)
  3. 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.

Fedex is currently in transition from WSDL to REST API.  This change allows configurable usage of WSDL or REST API.

Note: uses shipstream/fedex-rest-sdk, but currently it's not updated with fedex tracking API schema, so need to use a patch branch for it.

Also composer installing shipstream/fedex-rest-sdk requires PHP 8.1+, so I've to change php version as well for this commit.
@github-actions github-actions bot added documentation Component: Usa Relates to Mage_Usa composer Relates to composer.json labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Usa Relates to Mage_Usa composer Relates to composer.json documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FedEx WSDLS will be retired on May 15, 2024, need to use RESTful API
1 participant