Skip to content

Order currency is used instead of bas currency in the shipping label for form #31891

Closed
@yogesh-valiya

Description

@yogesh-valiya

When the store has multiple currencies and order is placed in any other currency rather than the base currency then this issue happens. The shipping label form uses order currency amounts instead of base currency amounts.
I checked further how different shipping carriers (checked in DHL, UPS, and FedEx) handles submitted custom amount. All of them treats received a custom amount as a base amount. I have faced this issue on Magento version 2.3.4 and 2.4-develop.

Here is the case,

  • My order was like below. Order is placed in USD and the base currency is AED.

!3jMDQab.png|thumbnail!
  • On the shipping label form "Customs Value" has a suffix of AED (base currency) but values filled in automatically are in USD

!uyUV2gR.png|thumbnail!
  • Hance shipping label has invalid values. (Label should have 113AED as shown in the first screenshot)

!WHIbjUT.png|thumbnail!

Preconditions (*)

  1. Magento 2.4-develop
  2. Store should have more than one currency.
  3. Need any online shipping method enabled like DHL, FedEx, UPS, or any other.

Steps to reproduce (*)

  1. Open the frontend and switch to any currency different currency than the base currency.

1. Place an order with any online shipping carrier. (I used DHL) 1. Got to the order page and open the new shipment page. 1. Check the checkbox "Create Shipping Label" and then "Submit Shipment..." - [screenshot](https://i.imgur.com/70CGPHU.png)

Expected result (*)

  1. All amounts shown on the shipping label should be in the base currency.

Actual result (*)

  1. All amounts shown on the shipping label are in the order currency.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • < ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • [ > Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions