Skip to content

Commit

Permalink
[SFI-421] Notifications failing for bundled products (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 authored Nov 29, 2023
1 parent 864a100 commit 1962466
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,7 @@ var adyenHelperObj = {

// converts the currency value for the Adyen Checkout API
getCurrencyValueForApi(amount) {
const currentBasket = BasketMgr.getCurrentBasket();
const currencyCode = dwutil.Currency.getCurrency(amount.currencyCode) || currentBasket.currencyCode;
const currencyCode = dwutil.Currency.getCurrency(amount.currencyCode) || session.currency.currencyCode;
const digitsNumber = adyenHelperObj.getFractionDigits(
currencyCode.toString(),
);
Expand Down

0 comments on commit 1962466

Please sign in to comment.