magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[Magento2]- Some amount (in decimal) is missing from total amount of the downloaded order .

Open webgility-amazonapi opened this issue 1 year ago • 7 comments

Preconditions and environment

Environmnet -> Magento2 API tool used Postman.

Steps to reproduce

(1) Connect to Magento2 store. (2) Download the order using the magento2 API. (3) Verify if the calculations are correct.

Expected result

All the calculations should be available in response. As per the order calculation amount should be 185.47

Actual result

Some amount from the calculations are missing.

In our order we have -> Amount calculations = 17.14 * 10 Tax = 0.26 (Order tax)+ 8.57 (Shipping tax) Shipping Amount = 5.24

So the final calculations should be => 17.14 * 10 + 0.26 + 8.57 +5.24 = 185.47 But as per magento2 order the order total = 185.5 Where is he missing amount ?

Additional information

Request -> http://php72.webgility.com/magento230_test/rest/V1/orders/372

357 Magento2_Bug_357.txt

Release note

Magento2_Bug_357.txt

Triage and priority

  • [X] 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”.

webgility-amazonapi avatar Jan 08 '24 11:01 webgility-amazonapi

Hi @webgility-amazonapi. 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:


Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

m2-assistant[bot] avatar Jan 08 '24 11:01 m2-assistant[bot]

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:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • [ ] 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • [ ] 5. Add label Issue: Confirmed once verification is complete.
  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

m2-assistant[bot] avatar Jan 08 '24 11:01 m2-assistant[bot]

From your post the base subtotal is £171.43, so I would assume the individual units are actually £17.143 and multiplying this by 10 gives the 3p difference.

devchris79 avatar Jan 08 '24 12:01 devchris79

@magento give me 2.4-develop instance

engcom-Bravo avatar Jan 09 '24 05:01 engcom-Bravo

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

Hi @engcom-Bravo, here is your Magento Instance: https://ca8bc95c58b803b4db9988cc77f7d839.instances-prod.magento-community.engineering Admin access: https://ca8bc95c58b803b4db9988cc77f7d839.instances-prod.magento-community.engineering/admin_d2c9 Login: caaad086 Password: db96e21d0474

Hi @webgility-amazonapi,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.

Steps to reproduce

  • Connect to Magento2 store.
  • Download the order using the magento2 API.
  • Verify if the calculations are correct.

Screenshot from 2024-01-09 11-58-51

Screenshot from 2024-01-09 12-15-13

All the calculations should be available in response.the order calculation amount is 185.47.

Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible.

Thanks.

engcom-Bravo avatar Jan 09 '24 09:01 engcom-Bravo

Hi @webgility-amazonapi,

Kindly provide latest update on this comment https://github.com/magento/magento2/issues/38336#issuecomment-1882754729 still you are working on this issue if you are able to reproduce the issue please elaborate the steps to reproduce.Please let us know still if you are facing any issue.

Thanks.

engcom-Bravo avatar Jan 22 '24 04:01 engcom-Bravo

Hi @webgility-amazonapi,

We have noticed that this issue has not been updated since long time.
Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.

Thanks

engcom-Bravo avatar Jan 29 '24 04:01 engcom-Bravo