There is a temporary solution for you, we need to override vendor/magento/module-checkout/view/frontend/web/js/view/payment/default.js
because if we take a look at this file, we can see:
/**
* After place order callback
*/
afterPlaceOrder: function () {
// Override this function and put after place order logic here
},
We will write the code to remove local storegare here.
We can read more here: Getting the product SKU in the header mini-cart to understand more about the mini cart data.
Note: we should find the root cause of your issue.
UPDATE: 26-Jul-16
A fix from Magento Community here.
app/code/Magento/Checkout/Model/Session.php
$this->_quote = null;
$this->setQuoteId(null);
$this->setLastSuccessQuoteId(null);
+ $this->setLoadInactive(false);
+ $this->replaceQuote($this->getQuote()->save());
return $this;
}
app/code/Magento/Checkout/view/frontend/templates/success.phtml
<a class="action primary continue" href="<?php /* @escapeNotVerified */ echo $block->getUrl() ?>"><span><?php /* @escapeNotVerified */ echo __('Continue Shopping') ?></span></a>
</div>
</div>
+ <script>
+ require([
+ 'Magento_Customer/js/customer-data'
+ ], function (customerData) {
+ var sections = ['cart'];
+ customerData.invalidate(sections);
+ customerData.reload(sections, true);
+ });
+ </script>
</div>