{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/10567","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/10567/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/10567/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/10567/events","html_url":"https://github.com/magento/magento2/issues/10567","id":250914586,"number":10567,"title":"Cart/Minicart not updating prices when Zero VAT customer group is assigned when logged in","user":{"login":"tprocter-ldg","id":13273241,"avatar_url":"https://avatars2.githubusercontent.com/u/13273241?v=4","gravatar_id":"","url":"https://api.github.com/users/tprocter-ldg","html_url":"https://github.com/tprocter-ldg","followers_url":"https://api.github.com/users/tprocter-ldg/followers","following_url":"https://api.github.com/users/tprocter-ldg/following{/other_user}","gists_url":"https://api.github.com/users/tprocter-ldg/gists{/gist_id}","starred_url":"https://api.github.com/users/tprocter-ldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tprocter-ldg/subscriptions","organizations_url":"https://api.github.com/users/tprocter-ldg/orgs","repos_url":"https://api.github.com/users/tprocter-ldg/repos","events_url":"https://api.github.com/users/tprocter-ldg/events{/privacy}","received_events_url":"https://api.github.com/users/tprocter-ldg/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":688811200,"url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false},{"id":686420665,"url":"https://api.github.com/repos/magento/magento2/labels/G2%20Passed","name":"G2 Passed","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-17T11:37:10Z","updated_at":"2017-09-14T15:25:33Z","closed_at":null,"author_association":"NONE","body":"Cart/Minicart not updating prices when Zero VAT customer group is assigned when logged in, until you go through to the billing step of checkout and then go back to update the cart. \r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento 2.1.5\r\n2. Theme - Magento Luma\r\n\r\nVAT SETUP\r\nAll VAT codes are supplied without the country prefix. \r\nStores > Taxes > Tax Rules > Add New Tax Rule\r\nTax Rule Information\r\nName: Zero VAT\r\nTax Rate: Click ‘Add New Tax Rate’\r\n- Tax Identifier: Zero VAT\r\n- Zip/Post is Range: unticked\r\n- Zip/Post Code: *\r\n- State: *\r\n- Country: Spain\r\n- Rate Percent: 0.00\r\n- Save\r\n\r\nAdditional Settings\r\nCustomer Tax Class: Click ‘Add New Tax Class’\r\n- Zero VAT Customer\r\n- Press the tick\r\n- Ensure this is the only tax class highlighted\r\nProduct Tax Class: Click ‘Add New Tax \r\n- Zero VAT Product\r\n- Press the tick\r\n- Ensure this is the only tax class highlighted\r\nPriority: 0\r\nCalculate Off Subtotal Only: unticked\r\nSort Order: 0\r\n\r\nStores > Taxes > Tax Zones and Rates > Add New Tax Rate\r\nTax Identifier: Zero VAT\r\nZip/Post is Range: unticked\r\nZip/Post Code: *\r\nState: *\r\nCountry: Spain\r\nRate Percent: 0.00\r\n\r\nStores > Other Settings > Customer Groups > Add New Customer Group\r\nGroup Name: Zero VAT Customer Group\r\nTax Class: Zero VAT Customer \r\n\r\nStores > Configuration > Customers > Customer Configuration > CHANGE SCOPE TO SPANISH WEBSITE LEVEL > Create New Account Options\r\n![screen shot 2017-08-17 at 12 30 54](https://user-images.githubusercontent.com/13273241/29410323-f41ad9ea-8347-11e7-919a-0b88a75d972a.png)\r\n\r\nStores > Configuration > Sales > Tax \r\n![screen shot 2017-08-17 at 12 34 49](https://user-images.githubusercontent.com/13273241/29410485-813e82ea-8348-11e7-8c9b-fc4adf1efcc5.png)\r\n![screen shot 2017-08-17 at 12 35 13](https://user-images.githubusercontent.com/13273241/29410489-8d690ebe-8348-11e7-94e8-3f1ca15e0224.png)\r\n![screen shot 2017-08-17 at 12 35 36](https://user-images.githubusercontent.com/13273241/29410495-9816461a-8348-11e7-8b41-fc993cd20e84.png)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Steps to reproduce\r\nProduct example being used: \r\n- Including VAT price 447,00 €\r\n- Excluding VAT price 369,42 €\r\n\r\n\r\n- Go to the frontend as a guest and add an item to your basket. \r\n- Minicart shows product as 447,00 €\r\n- Go to login as a new customer. \r\n- Add your address & vat number when prompted (default functionality).\r\n- You should receive the 'Your vat id has been successfully validated. You will not be charged tax' message. At this point you are assigned the Zero VAT customer group. \r\n- Go back to the frontend and notice that all the prices in the category and product pages are now showing the VAT discount. \r\n- Go to the cart and/or the minicart to view the product you added prior to registration\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n- Prices and totals are updated to reflect the VAT discount \r\nie: product price and total should be 369,42 €. \r\n- Add another product and view the cart and/or minicart. This product should show the VAT discount price which is reflected on the product page.\r\n\r\n### Actual result\r\n<!--- Tell us what should happen -->\r\n- Prices and totals still show the full price in cart/minicart. \r\n- Add another product and view the cart and/or minicart. This product also shows as including full vat. \r\n- Go through to the checkout. Choose your shipping option and click next button. \r\n- Before proceeding with payment go back to the homepage. \r\n- Click the minicart and update your product quantity. \r\n- The prices and totals refresh to show the correct discounted price. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/329517827","html_url":"https://github.com/magento/magento2/issues/10567#issuecomment-329517827","issue_url":"https://api.github.com/repos/magento/magento2/issues/10567","id":329517827,"user":{"login":"magento-engcom-team","id":31669971,"avatar_url":"https://avatars1.githubusercontent.com/u/31669971?v=4","gravatar_id":"","url":"https://api.github.com/users/magento-engcom-team","html_url":"https://github.com/magento-engcom-team","followers_url":"https://api.github.com/users/magento-engcom-team/followers","following_url":"https://api.github.com/users/magento-engcom-team/following{/other_user}","gists_url":"https://api.github.com/users/magento-engcom-team/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-engcom-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-engcom-team/subscriptions","organizations_url":"https://api.github.com/users/magento-engcom-team/orgs","repos_url":"https://api.github.com/users/magento-engcom-team/repos","events_url":"https://api.github.com/users/magento-engcom-team/events{/privacy}","received_events_url":"https://api.github.com/users/magento-engcom-team/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T15:25:33Z","updated_at":"2017-09-14T15:25:33Z","author_association":"NONE","body":"@tprocter-ldg, thank you for research. Could you please submit pull request with your fix?"}}
{"actor":{"display_login":"magento-engcom-team"}}