From 88807150bd42d313bcde61a764ab915434445845 Mon Sep 17 00:00:00 2001 From: Zenit Shkreli <69572953+zenit2001@users.noreply.github.com> Date: Thu, 4 Jul 2024 10:06:51 +0200 Subject: [PATCH] fix: changed the field name to align with api requirements (#1107) --- .../int_adyen_SFRA/cartridge/adyen/utils/riskDataHelper.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cartridges/int_adyen_SFRA/cartridge/adyen/utils/riskDataHelper.js b/src/cartridges/int_adyen_SFRA/cartridge/adyen/utils/riskDataHelper.js index ffa037951..8241df8ec 100644 --- a/src/cartridges/int_adyen_SFRA/cartridge/adyen/utils/riskDataHelper.js +++ b/src/cartridges/int_adyen_SFRA/cartridge/adyen/utils/riskDataHelper.js @@ -46,8 +46,9 @@ const __RiskDataHelper = { basketData[`riskdata.basket.item${itemNr}.brand`] = item.product ? item.product.brand : ''; - basketData[`riskdata.basket.item${itemNr}.manufacturerName`] = - item.product ? item.product.manufacturerName : ''; + basketData[`riskdata.basket.item${itemNr}.manufacturer`] = item.product + ? item.product.manufacturerName + : ''; basketData[`riskdata.basket.item${itemNr}.category`] = item.product && item.product.primaryCategory ? item.product.primaryCategory.displayName