diff --git a/app/code/Magento/Checkout/view/frontend/web/js/sidebar.js b/app/code/Magento/Checkout/view/frontend/web/js/sidebar.js index 4db858978e7c5..dbffd0358d18f 100644 --- a/app/code/Magento/Checkout/view/frontend/web/js/sidebar.js +++ b/app/code/Magento/Checkout/view/frontend/web/js/sidebar.js @@ -55,7 +55,7 @@ define([ }; events['click ' + this.options.item.button] = function(event) { event.stopPropagation(); - self._updateItemQty($(event.target)); + self._updateItemQty($(event.currentTarget)); }; this._on(this.element, events); diff --git a/app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml b/app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml index f71a9bdd9fa41..7e98931c8562a 100644 --- a/app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml +++ b/app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml @@ -32,7 +32,7 @@ $params = $block->getParams(); 'Magento_Checkout/js/action/place-order' ], function(quote, placeOrderAction) { - placeOrderAction(quote.paymentMethod(), true); + placeOrderAction({"method": quote.paymentMethod().method}, true); } );