From d4d73d113dd9e3e5722373dbf13640430d9a3af8 Mon Sep 17 00:00:00 2001 From: Joey Koster Date: Thu, 6 Feb 2025 15:54:18 +0100 Subject: [PATCH] chore(processor): remove todo --- processor/src/config/payment-method.config.ts | 2 -- processor/test/services/converters/helper.converter.spec.ts | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/processor/src/config/payment-method.config.ts b/processor/src/config/payment-method.config.ts index 2d74f87..13b9793 100644 --- a/processor/src/config/payment-method.config.ts +++ b/processor/src/config/payment-method.config.ts @@ -1,5 +1,3 @@ -import { GenericIssuerPaymentMethodDetails } from '@adyen/api-library/lib/src/typings/checkout/genericIssuerPaymentMethodDetails'; - /** * Specific configuration for payment methods that require special handling. * See https://docs.adyen.com/payment-methods for more information about each payment method. diff --git a/processor/test/services/converters/helper.converter.spec.ts b/processor/test/services/converters/helper.converter.spec.ts index ddf629d..5639580 100644 --- a/processor/test/services/converters/helper.converter.spec.ts +++ b/processor/test/services/converters/helper.converter.spec.ts @@ -264,7 +264,6 @@ describe('helper.converter', () => { }); test('should map the CoCo line items to Adyen line items taking into account Adyen deviations', () => { - // TODO: SCC-2901: once answer given from Adyen, adjust this unit-test accordingly. // CLP currencyCode according to ISO_4217 has 0 fractionDigits but Adyen expects 2 fractionDigits const input = CoCoCartCLPJSON.lineItems as CoCoLineItem[]; @@ -276,7 +275,7 @@ describe('helper.converter', () => { amountExcludingTax: 13400, amountIncludingTax: 15000, taxAmount: 1600, - taxPercentage: 12, + taxPercentage: 1200, }; expect(actual).toEqual(expected);