magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.55k stars 9.32k forks source link

Magento 2 new FedEx api not getting the right price #39159

Open ShapesGraphicStudio opened 1 month ago

ShapesGraphicStudio commented 1 month ago

Preconditions and environment

Steps to reproduce

  1. Navigate to store as guest
  2. Place order
  3. Get FedEx Shipping rates

Expected result

Get our special deal prices

Actual result

Get "normal price

Additional information

Hello,

I just upgraded to 2.4.7-p2 to get the new FedEx api working.

Connection works fine but I'm not getting the right prices for our account.

FedEx tells us that we have a wrong param in the request : "rateRequestType": [ "LIST" ], Should be "rateRequestType": [ "PREFERRED" ],

I could not see this option in admin. Should it not figure there?

I tried to change this directly in vendor/magento/module-fedex/Model/Carrier.php and it seems to do the job. But I also tried to override the Model to avoid update issues without luck.

Any idea on how I could get this fixed please?

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 month ago

Hi @ShapesGraphicStudio. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

alikhani97 commented 1 month ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 1 month ago

Hi @alikhani97. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 1 month ago

Hi @alikhani97, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.

m2-assistant[bot] commented 1 month ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 1 month ago

Hi @ShapesGraphicStudio,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.

Checkout-10-03-2024_11_46_AM

We are able to get the FedEx Shipping rates.Could you please elaborate the steps to reproduce to proceed further and please let us know if we are missing anything.

Thanks.

Mohamed-Asar commented 1 month ago

@engcom-Bravo This issue exist only in REST API method. Please compare the shipping rates for both REST API and SOAP method, you will see rates difference in REST API Response I've verified with fedex team, they said wrong rateRequestType was passed in the request . please see the below screenshot

image

ShapesGraphicStudio commented 1 month ago

@engcom-Bravo the problem here is not about getting shipping rates but getting the RIGHT rates for us.

We dealed special rates with FedEx, but they were not being displayed to our customers.

FedEx team (commercial and deev) told us us that we have a wrong param in the request : "rateRequestType": [ "LIST" ], Should be "rateRequestType": [ "PREFERRED" ], To have the right price.

After changing that we had the right prices showing, so I think this param should be an option in admin.