Skip to content

Commit

Permalink
[ECP-8701] - Fix the Taxation for 2.4.6 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulritter authored Nov 8, 2023
1 parent 19467dc commit cf8ef25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions view/frontend/web/js/applepay/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ define([
applePayShippingContactUpdate.newShippingMethods = shippingMethods;
applePayShippingContactUpdate.newTotal = {
label: $t('Grand Total'),
amount: (response.grand_total + response.tax_amount).toString()
amount: (response.grand_total).toString()
};
applePayShippingContactUpdate.newLineItems = [
{
Expand Down Expand Up @@ -388,7 +388,7 @@ define([
applePayShippingMethodUpdate.newTotal = {
type: 'final',
label: $t('Grand Total'),
amount: (response.grand_total + response.tax_amount).toString()
amount: (response.grand_total).toString()
};
applePayShippingMethodUpdate.newLineItems = [
{
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/googlepay/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ define([
],
currencyCode: totals.quote_currency_code,
totalPriceStatus: 'FINAL',
totalPrice: (totals.grand_total+ totals.tax_amount).toString(),
totalPrice: (totals.grand_total).toString(),
totalPriceLabel: 'Total',
countryCode: configModel().getConfig().countryCode
}
Expand Down

0 comments on commit cf8ef25

Please sign in to comment.