magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Handling fee is not coming in REST API response

Open srinivasanithin opened this issue 9 years ago • 3 comments

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

image

Response for this order

1091.txt

srinivasanithin avatar Dec 23 '16 08:12 srinivasanithin

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.

olysenko avatar Dec 27 '16 11:12 olysenko

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.

veloraven avatar Jul 03 '17 07:07 veloraven

@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

srinivasanithin avatar Jul 03 '17 08:07 srinivasanithin