{"action":"closed","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/4976","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/4976/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/4976/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/4976/events","html_url":"https://github.com/magento/magento2/issues/4976","id":159702754,"number":4976,"title":"Transaction Fetch: Incorrect Method Call","user":{"login":"sw45859","id":332719,"avatar_url":"https://avatars.githubusercontent.com/u/332719?v=3","gravatar_id":"","url":"https://api.github.com/users/sw45859","html_url":"https://github.com/sw45859","followers_url":"https://api.github.com/users/sw45859/followers","following_url":"https://api.github.com/users/sw45859/following{/other_user}","gists_url":"https://api.github.com/users/sw45859/gists{/gist_id}","starred_url":"https://api.github.com/users/sw45859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw45859/subscriptions","organizations_url":"https://api.github.com/users/sw45859/orgs","repos_url":"https://api.github.com/users/sw45859/repos","events_url":"https://api.github.com/users/sw45859/events{/privacy}","received_events_url":"https://api.github.com/users/sw45859/received_events","type":"User","site_admin":false},"labels":[{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":161563561,"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205","default":false},{"id":375313023,"url":"https://api.github.com/repos/magento/magento2/labels/Sales","name":"Sales","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-10T19:13:29Z","updated_at":"2016-10-28T11:49:12Z","closed_at":"2016-10-28T11:49:12Z","body":"Currently it is using the transaction entity id in the method call to load the order when it should be using the order id when fetching transaction information on the admin transaction details page.\r\n\r\nMagento CE version 2.0.7\r\n\r\nSteps to reproduce\r\n--\r\n1. Attempt to fetch transaction results for any payment from payment transaction view\r\n\r\nFix:\r\n--\r\nvendor\\magento\\module-sales\\Controller\\Adminhtml\\Transactions\\Fetch.php line 29\r\nchange $txn->getId() to $txn->getOrderId()"}}
{"actor":{"display_login":"veloraven"}}