Skip to content

Commit

Permalink
MAGETWO-42103: Minicart does not clear after completing an order via …
Browse files Browse the repository at this point in the history
…Paypal
  • Loading branch information
irenelagno committed Aug 27, 2015
1 parent 5fbc6b4 commit 56dc34f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/code/Magento/Braintree/etc/frontend/sections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../Customer/etc/sections.xsd">
<action name="braintree/paypal/placeOrder">
<section name="cart"/>
</action>
</config>
6 changes: 6 additions & 0 deletions app/code/Magento/Checkout/etc/frontend/sections.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@
<action name="rest/*/V1/guest-carts/*/payment-information">
<section name="cart"/>
</action>
<action name="rest/*/V1/guest-carts/*/selected-payment-method">
<section name="cart"/>
</action>
<action name="rest/*/V1/carts/*/selected-payment-method">
<section name="cart"/>
</action>
</config>

0 comments on commit 56dc34f

Please sign in to comment.