{"action":"created","issue":{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1541","repository_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce","labels_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1541/labels{/name}","comments_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1541/comments","events_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1541/events","html_url":"https://github.com/wp-e-commerce/WP-e-Commerce/issues/1541","id":43488839,"number":1541,"title":"Applying Discount and Tax error in total sale","user":{"login":"instinct-ray","id":3254722,"avatar_url":"https://avatars.githubusercontent.com/u/3254722?v=3","gravatar_id":"","url":"https://api.github.com/users/instinct-ray","html_url":"https://github.com/instinct-ray","followers_url":"https://api.github.com/users/instinct-ray/followers","following_url":"https://api.github.com/users/instinct-ray/following{/other_user}","gists_url":"https://api.github.com/users/instinct-ray/gists{/gist_id}","starred_url":"https://api.github.com/users/instinct-ray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instinct-ray/subscriptions","organizations_url":"https://api.github.com/users/instinct-ray/orgs","repos_url":"https://api.github.com/users/instinct-ray/repos","events_url":"https://api.github.com/users/instinct-ray/events{/privacy}","received_events_url":"https://api.github.com/users/instinct-ray/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/labels/p:high","name":"p:high","color":"fff200"}],"state":"open","locked":false,"assignee":{"login":"jbeales","id":104935,"avatar_url":"https://avatars.githubusercontent.com/u/104935?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeales","html_url":"https://github.com/jbeales","followers_url":"https://api.github.com/users/jbeales/followers","following_url":"https://api.github.com/users/jbeales/following{/other_user}","gists_url":"https://api.github.com/users/jbeales/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeales/subscriptions","organizations_url":"https://api.github.com/users/jbeales/orgs","repos_url":"https://api.github.com/users/jbeales/repos","events_url":"https://api.github.com/users/jbeales/events{/privacy}","received_events_url":"https://api.github.com/users/jbeales/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/milestones/7","html_url":"https://github.com/wp-e-commerce/WP-e-Commerce/milestones/4.0","labels_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/milestones/7/labels","id":234069,"number":7,"title":"4.0","description":"Primary focus for this release:\r\n\r\n## Major\r\n##### (Headline changes that would be sad to punt.)\r\n* Integrate new theme engine (#848, #1600, #1263)\r\n* Add Package/Grouped Product Type (#386)\r\n* Make Store Reports and extensible API (#462)\r\n* Recurring Sales API (#83)\r\n\r\n## Minor\r\n##### (General improvements, completed iterations on prior enhancements, etc.  Avoid punting if possible)\r\n* Improved Stock Level handling (#720)\r\n* Add an upgraded_from option (#1569)\r\n\r\n## Iterative\r\n##### (Feature-as-plugins, minor enhancements.  happy to punt.)\r\n* Stats-API improvements (#739)\r\n* REST API (#406)","creator":{"login":"JustinSainton","id":1168754,"avatar_url":"https://avatars.githubusercontent.com/u/1168754?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinSainton","html_url":"https://github.com/JustinSainton","followers_url":"https://api.github.com/users/JustinSainton/followers","following_url":"https://api.github.com/users/JustinSainton/following{/other_user}","gists_url":"https://api.github.com/users/JustinSainton/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinSainton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinSainton/subscriptions","organizations_url":"https://api.github.com/users/JustinSainton/orgs","repos_url":"https://api.github.com/users/JustinSainton/repos","events_url":"https://api.github.com/users/JustinSainton/events{/privacy}","received_events_url":"https://api.github.com/users/JustinSainton/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":121,"state":"open","created_at":"2012-12-22T23:13:36Z","updated_at":"2016-05-27T22:43:43Z","due_on":"2014-12-29T08:00:00Z","closed_at":null},"comments":29,"created_at":"2014-09-22T14:08:20Z","updated_at":"2016-05-28T01:14:06Z","closed_at":null,"body":"Tested in WPEC 3.8.14.3.\r\n\r\nHere's the test case. \r\n\r\nTax is 10%\r\nDiscount is 10% (from coupon)\r\nItem cost is $100\r\n\r\nRight now if I were to purchase this item, The sale would be $100. \r\n\r\nHowever, it should work like such. \r\nItem cost $100\r\nItem cost after discount : $100 - $10 = $90\r\nItem cost INCLUDING tax = $90 + ( $90 * 10%) = $99\r\n\r\nThank you,\r\nRay"},"comment":{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/comments/222282275","html_url":"https://github.com/wp-e-commerce/WP-e-Commerce/issues/1541#issuecomment-222282275","issue_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1541","id":222282275,"user":{"login":"jbeales","id":104935,"avatar_url":"https://avatars.githubusercontent.com/u/104935?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeales","html_url":"https://github.com/jbeales","followers_url":"https://api.github.com/users/jbeales/followers","following_url":"https://api.github.com/users/jbeales/following{/other_user}","gists_url":"https://api.github.com/users/jbeales/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeales/subscriptions","organizations_url":"https://api.github.com/users/jbeales/orgs","repos_url":"https://api.github.com/users/jbeales/repos","events_url":"https://api.github.com/users/jbeales/events{/privacy}","received_events_url":"https://api.github.com/users/jbeales/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T01:14:06Z","updated_at":"2016-05-28T01:14:06Z","body":"Could @JustinSainton or @benhuson fill me in on what's going on with the `WPSC_Coupon` class vs. the `wpsc_coupons` class? There seems to be some duplication going on."}}
{"actor":{"display_login":"jbeales"}}