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.5k stars 9.3k forks source link

Handling fee is not coming in REST API response #7944

Closed srinivasanithin closed 7 years ago

srinivasanithin commented 7 years ago

Preconditions

  1. Instance is setup using Magento 2.1.2 CE release and shipping tables are setup with handling fee

Steps to reproduce

  1. Placed an order with shipping method to have handling fee.
  2. Make a API call GET:/V1/orders/:id or GET:/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=increment_id&searchCriteria[filter_groups][0][filters][0][value]={{increment_id}}&searchCriteria[filter_groups][0][filters][0][condition_type]=eq

Expected result

  1. Response json should be to give handling fee amount.

Actual result

  1. image

Response for this order

1091.txt

olysenko commented 7 years ago

Hi, thank you for report. Please provide more detailed steps about "shipping tables are setup with handling fee" in order to reproduce this issue. For instance if I use Flat/Table Rate shipping methods with Handling fee it goes to the Shipping & Handling result value in order but not to the Handling value alone.

veloraven commented 7 years ago

According to contributor guide, tickets without response for two weeks should be closed. If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

srinivasanithin commented 7 years ago

@olysenko : We found a custom code which was putting that handling fee and hence it was not showing up in API. We are good to close it. Sorry for delay update