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.54k stars 9.32k forks source link

FedEx module unable to process shipping label request: STREETLINES.TOO.LONG #39212

Open ShapesGraphicStudio opened 1 month ago

ShapesGraphicStudio commented 1 month ago

Preconditions and environment

Steps to reproduce

  1. Navigate to backend
  2. Try to create a FedEx shipping label with 2 lines, one with 30 characters and one with 23 characters

Expected result

Shipping label should be created successfully as the address is on 2 lines and FedEx allows 35 characters per line.

Actual result

We can not create the shipping label, error message is showing STREETLINES.TOO.LONG.

Additional information

We verified that the address is written on 2 differnet lines.

STREETLINES TOO LONG

Shipping label can't be created.

STREETLINES TOO LONG_errormessage

We contacted FedEx support, the told us that the address was showingh on one line and ther request logs: "streetLines":[ "Xxxxxxxx Xxxxxxxxxxxxxxxx XX-X Xxxxxxxxxxxxx Xxxx #XXX"]

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.

m2-assistant[bot] commented 1 month ago

Hi @engcom-Delta. 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-Delta commented 1 month ago

Hi @ShapesGraphicStudio ,

Thanks for your reporting and collaboration. We have verified the issue in latest 2.4-develop instance and issue is reproducible . Kindly refer the screenshots.

Steps to reproduce

  1. Place an order with more than 35 characters as shipping address and fedex shipping method.
  2. Create shipping label.
  3. Observe user is unable to create shipping label and user receives error as shipping address is more than 35 characters. image

Thanks.

github-jira-sync-bot commented 1 month ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-13150 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 month ago

:white_check_mark: Confirmed by @engcom-Delta. Thank you for verifying the issue.
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

ShapesGraphicStudio commented 1 month ago

Hello, I don't understand why this is marked as feature request instaed of issue to fix. This is blocking the creation of some shipping labels. I notices this has been discusted also here in issue #39072:

"the API request are being sent to FedEx as [streetLine1 . streetLine2], but it should be [streetLine1, streetLine2]"

devchris79 commented 1 month ago

@ShapesGraphicStudio The issue that you have linked has a pull request to fix the issue unless I am missing something...

BOUTAN commented 3 weeks ago

Hello,

We have asked our FEDEX contact and each lign must not exceed 35 characters INCLUDING SPACE. Thats explains that each time we think we are under 35 characters, we are usually at more.

Do you know how could we "stop" the consumer to write more than 35 characters ? Maybe activate an automatic message at 35 characters "Address too long, please use the lines below"