{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/4114","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/4114/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/4114/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/4114/events","html_url":"https://github.com/magento/magento2/issues/4114","id":147712752,"number":4114,"title":"PayPal doesn't clear Minicart but cart","user":{"login":"kingalca","id":13021579,"avatar_url":"https://avatars.githubusercontent.com/u/13021579?v=3","gravatar_id":"","url":"https://api.github.com/users/kingalca","html_url":"https://github.com/kingalca","followers_url":"https://api.github.com/users/kingalca/followers","following_url":"https://api.github.com/users/kingalca/following{/other_user}","gists_url":"https://api.github.com/users/kingalca/gists{/gist_id}","starred_url":"https://api.github.com/users/kingalca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingalca/subscriptions","organizations_url":"https://api.github.com/users/kingalca/orgs","repos_url":"https://api.github.com/users/kingalca/repos","events_url":"https://api.github.com/users/kingalca/events{/privacy}","received_events_url":"https://api.github.com/users/kingalca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/CS","name":"CS","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-12T11:06:59Z","updated_at":"2016-04-13T21:34:44Z","closed_at":null,"body":"We have found a weird bug. If a customer is paying with PayPal the Minicart doesn't get cleared. However, the cart is empty, so if you click \"go to cart\" you see \"there are no products in your cart\".\r\n\r\nBug only occours when using PayPal out of sandbox mode.\r\n\r\nHow can we fix this? I was thinking about a session destroyer on the success.phtml but wasn't lucky to find a solution for this.\r\n\r\nAny ideas? Its kinda important for us. "},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/209656012","html_url":"https://github.com/magento/magento2/issues/4114#issuecomment-209656012","issue_url":"https://api.github.com/repos/magento/magento2/issues/4114","id":209656012,"user":{"login":"orlangur","id":642698,"avatar_url":"https://avatars.githubusercontent.com/u/642698?v=3","gravatar_id":"","url":"https://api.github.com/users/orlangur","html_url":"https://github.com/orlangur","followers_url":"https://api.github.com/users/orlangur/followers","following_url":"https://api.github.com/users/orlangur/following{/other_user}","gists_url":"https://api.github.com/users/orlangur/gists{/gist_id}","starred_url":"https://api.github.com/users/orlangur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orlangur/subscriptions","organizations_url":"https://api.github.com/users/orlangur/orgs","repos_url":"https://api.github.com/users/orlangur/repos","events_url":"https://api.github.com/users/orlangur/events{/privacy}","received_events_url":"https://api.github.com/users/orlangur/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T21:34:44Z","updated_at":"2016-04-13T21:34:44Z","body":"Look into Network tab of Developer Tools during your scenario and note actions involved in the process.\r\n\r\nIf there are some missing in section invalidation config, add them similar to:\r\n```\r\n<action name=\"paypal/express/placeOrder\">\r\n        <section name=\"cart\"/>\r\n        <section name=\"checkout-data\"/>\r\n    </action>\r\n```"}}