{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/18930","repository_url":"https://api.github.com/repos/woocommerce/woocommerce","labels_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/18930/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/18930/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/18930/events","html_url":"https://github.com/woocommerce/woocommerce/issues/18930","id":296270928,"number":18930,"title":"Fixed cart discount coupon codes do not work on custom priced products","user":{"login":"rahuladams","id":16552397,"avatar_url":"https://avatars3.githubusercontent.com/u/16552397?v=4","gravatar_id":"","url":"https://api.github.com/users/rahuladams","html_url":"https://github.com/rahuladams","followers_url":"https://api.github.com/users/rahuladams/followers","following_url":"https://api.github.com/users/rahuladams/following{/other_user}","gists_url":"https://api.github.com/users/rahuladams/gists{/gist_id}","starred_url":"https://api.github.com/users/rahuladams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahuladams/subscriptions","organizations_url":"https://api.github.com/users/rahuladams/orgs","repos_url":"https://api.github.com/users/rahuladams/repos","events_url":"https://api.github.com/users/rahuladams/events{/privacy}","received_events_url":"https://api.github.com/users/rahuladams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-12T05:34:30Z","updated_at":"2018-02-16T05:18:06Z","closed_at":"2018-02-12T10:43:48Z","author_association":"NONE","body":"While WooCommerce lets you have a custom price for the product while it's being added to cart using \"woocommerce_before_calculate_totals\", the system still calculates the subtotal using the original price while it checks the coupon code against cart totals.\r\n\r\nThis creates an issue when the coupon code has to work on orders above a certain amount. If the original price is less than the required subtotal, the coupon will throw an error even if the custom price is valid for the offer."},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/comments/366146506","html_url":"https://github.com/woocommerce/woocommerce/issues/18930#issuecomment-366146506","issue_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/18930","id":366146506,"user":{"login":"rahuladams","id":16552397,"avatar_url":"https://avatars3.githubusercontent.com/u/16552397?v=4","gravatar_id":"","url":"https://api.github.com/users/rahuladams","html_url":"https://github.com/rahuladams","followers_url":"https://api.github.com/users/rahuladams/followers","following_url":"https://api.github.com/users/rahuladams/following{/other_user}","gists_url":"https://api.github.com/users/rahuladams/gists{/gist_id}","starred_url":"https://api.github.com/users/rahuladams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahuladams/subscriptions","organizations_url":"https://api.github.com/users/rahuladams/orgs","repos_url":"https://api.github.com/users/rahuladams/repos","events_url":"https://api.github.com/users/rahuladams/events{/privacy}","received_events_url":"https://api.github.com/users/rahuladams/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T05:18:06Z","updated_at":"2018-02-16T05:18:06Z","author_association":"NONE","body":"@mikejolley Thanks for url and I have fixed the issue by comparing the file you have shared the my version. Despite the fact both showed \"@since  3.2.0\" the code that I had in that file where it validates the coupon against the subtotal was different. That was causing the issue."}}
{"actor":{"display_login":"rahuladams"}}