Skip to content

Commit

Permalink
[ECP-8595] - Remove the unused values and console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulritter committed Oct 12, 2023
1 parent 08de848 commit 20d1d15
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions view/frontend/web/js/googlepay/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,19 +319,16 @@ define([
// Create payload to update quote and quote_address
const shippingInformationPayload = {
'addressInformation': {
// ...totalsPayload.addressInformation,
'shipping_address': address,
'billing_address': address,
'shipping_method_code': selectedShipping.method_code,
'shipping_carrier_code': selectedShipping.carrier_code
}
};
// delete shippingInformationPayload.addressInformation.address;

setShippingInformation(shippingInformationPayload, this.isProductView);
setTotalsInfo(totalsPayload, this.isProductView)
.done(function (totals) {
console.log(totals.tax_amount)
const shippingMethods = response.map((shippingMethod) => {
const label = shippingMethod.price_incl_tax
? formatCurrency(shippingMethod.price_incl_tax, totals.quote_currency_code) + ' - ' + shippingMethod.method_title
Expand Down

0 comments on commit 20d1d15

Please sign in to comment.