{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3444","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3444/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3444/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3444/events","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/3444","id":81572433,"number":3444,"title":"Export Payment History shows wrong price in Products column when discount applied","user":{"login":"mindctrl","id":1254870,"avatar_url":"https://avatars.githubusercontent.com/u/1254870?v=3","gravatar_id":"","url":"https://api.github.com/users/mindctrl","html_url":"https://github.com/mindctrl","followers_url":"https://api.github.com/users/mindctrl/followers","following_url":"https://api.github.com/users/mindctrl/following{/other_user}","gists_url":"https://api.github.com/users/mindctrl/gists{/gist_id}","starred_url":"https://api.github.com/users/mindctrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindctrl/subscriptions","organizations_url":"https://api.github.com/users/mindctrl/orgs","repos_url":"https://api.github.com/users/mindctrl/repos","events_url":"https://api.github.com/users/mindctrl/events{/privacy}","received_events_url":"https://api.github.com/users/mindctrl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Administration","name":"Administration","color":"E74C3C"},{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Has%20PR","name":"Has PR","color":"009800"},{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Needs%20Testing","name":"Needs Testing","color":"bfe5bf"},{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Reports","name":"Reports","color":"D35400"}],"state":"open","locked":false,"assignee":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/93","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/milestones/2.5","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/93/labels","id":979858,"number":93,"title":"2.5","description":"Reporting","creator":{"login":"chriscct7","id":1324637,"avatar_url":"https://avatars.githubusercontent.com/u/1324637?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscct7","html_url":"https://github.com/chriscct7","followers_url":"https://api.github.com/users/chriscct7/followers","following_url":"https://api.github.com/users/chriscct7/following{/other_user}","gists_url":"https://api.github.com/users/chriscct7/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscct7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscct7/subscriptions","organizations_url":"https://api.github.com/users/chriscct7/orgs","repos_url":"https://api.github.com/users/chriscct7/repos","events_url":"https://api.github.com/users/chriscct7/events{/privacy}","received_events_url":"https://api.github.com/users/chriscct7/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":15,"state":"open","created_at":"2015-02-15T05:10:01Z","updated_at":"2015-10-01T15:21:47Z","due_on":"2015-09-30T05:00:00Z","closed_at":null},"comments":11,"created_at":"2015-05-27T18:45:37Z","updated_at":"2015-10-01T15:54:09Z","closed_at":null,"body":"When an item has been purchased with a discount, the export report shows the wrong price in the product column item description. Steps to reproduce:\r\n- Purchase $10 product using a 50% discount code, leaving final sale price at $5.\r\n- Confirm things look right on Payment History screen.\r\n- Go to Reports > Export > Export Payment History and export the payment history.\r\n\r\nAt this point you'll notice the Products column, which appends the price to the description, has doubled the coupon amount, resulting in the price saying $2.50 instead of $5.\r\n\r\n![Screenshot](http://f.cl.ly/items/351U310V1d123p1l1f3B/Image%202015-05-27%20at%202.41.43%20PM.png)\r\n\r\n[Reported here](https://easydigitaldownloads.com/support/topic/bug-in-csv-export-of-payment-history/#post-533258)."},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/comments/144770235","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/3444#issuecomment-144770235","issue_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3444","id":144770235,"user":{"login":"mindctrl","id":1254870,"avatar_url":"https://avatars.githubusercontent.com/u/1254870?v=3","gravatar_id":"","url":"https://api.github.com/users/mindctrl","html_url":"https://github.com/mindctrl","followers_url":"https://api.github.com/users/mindctrl/followers","following_url":"https://api.github.com/users/mindctrl/following{/other_user}","gists_url":"https://api.github.com/users/mindctrl/gists{/gist_id}","starred_url":"https://api.github.com/users/mindctrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindctrl/subscriptions","organizations_url":"https://api.github.com/users/mindctrl/orgs","repos_url":"https://api.github.com/users/mindctrl/repos","events_url":"https://api.github.com/users/mindctrl/events{/privacy}","received_events_url":"https://api.github.com/users/mindctrl/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T15:54:09Z","updated_at":"2015-10-01T15:54:09Z","body":"I'm good with it. @cklosowski ?"}}