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

"cc_type" is not coming with payment info in order data #4676

Closed ruby10 closed 8 years ago

ruby10 commented 8 years ago

Hey there,

I am facing this issue while retrieving order data using api "/rest/V1/orders/{orderId}" ,field "cc_type" is missing in payment block . I have used payment gateway "braintree" for this order. Sample payment block which I am getting with order data is provided below.Please have a look and let me know if it's a bug or enhancement , also when solution will be out, as it acting as major blocker while developing integration when payment needs to be exported outside magento?

"payment": { "account_status": null, "additional_information": [ "M", "M", "M", "GR7X6P", "1000", "Approved" ], "amount_authorized": 45, "amount_ordered": 45, "base_amount_authorized": 45, "base_amount_ordered": 45, "base_shipping_amount": 15, "cc_last4": "1111", "cc_trans_id": "6jczhc", "entity_id": 43, "last_trans_id": "6jczhc", "method": "braintree", "parent_id": 44, "shipping_amount": 15 }

karanbhomiagit commented 8 years ago

Hi, I am facing a similar issue while making a GET call on "/rest/V1/orders/" api. The field "cc_type" is missing from the response json.

srinivasanithin commented 8 years ago

Hi

We need this field cc_type to know which type of card was used in order information this gives us way to merchants to assign appropriate accounts for this transaction in ERP system integrated with Magento.

This field was available in Magento 1x and now i see this field value is not getting populating when using braintree.

can you please looking and let us know if feature is removed ( i see that field in db table available but it is not getting populated with value)?

asemenenko commented 8 years ago

Added to MAGETWO-53493

viktym commented 8 years ago

This issue is not reproducible on 2.0.7 and current develop branch

alena-marchenko commented 8 years ago

Hi @ruby10

Closing the issue, please feel free to reopen it with detailed steps to reproduce it it still persist