From 855f9898e3d385283f9fae15fc85b79842a68d13 Mon Sep 17 00:00:00 2001 From: Win Date: Fri, 22 Nov 2024 14:10:36 +0700 Subject: [PATCH 1/3] MOL-536: add debug for update actions --- processor/src/service/payment.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/processor/src/service/payment.service.ts b/processor/src/service/payment.service.ts index 7ff0d01..248e046 100644 --- a/processor/src/service/payment.service.ts +++ b/processor/src/service/payment.service.ts @@ -434,6 +434,8 @@ export const handleCreatePayment = async (ctPayment: Payment): Promise Date: Fri, 22 Nov 2024 14:11:11 +0700 Subject: [PATCH 2/3] MOL-536: add debug for update actions --- processor/package-lock.json | 4 ++-- processor/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/processor/package-lock.json b/processor/package-lock.json index 8fae81e..fbc9d7e 100644 --- a/processor/package-lock.json +++ b/processor/package-lock.json @@ -1,12 +1,12 @@ { "name": "shopmacher-mollie-processor", - "version": "1.2.0-alpha20.11.24.1610", + "version": "1.2.0-alpha22.11.24.1410", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "shopmacher-mollie-processor", - "version": "1.2.0-alpha20.11.24.1610", + "version": "1.2.0-alpha22.11.24.1410", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/processor/package.json b/processor/package.json index 7fc644e..a164a1b 100644 --- a/processor/package.json +++ b/processor/package.json @@ -1,7 +1,7 @@ { "name": "shopmacher-mollie-processor", "description": "Integration between commercetools and mollie payment service provider", - "version": "1.2.0-alpha20.11.24.1610", + "version": "1.2.0-alpha22.11.24.1410", "main": "index.js", "private": true, "scripts": { From 9de9dc77e93d4ff45a1f03db9df98eec2e114ae3 Mon Sep 17 00:00:00 2001 From: Nghia Tran Date: Fri, 22 Nov 2024 15:11:03 +0700 Subject: [PATCH 3/3] Fix delete surcharge --- .../components/method-details/availability/details-form.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/src/components/method-details/availability/details-form.tsx b/application/src/components/method-details/availability/details-form.tsx index c9f6788..541dbb1 100644 --- a/application/src/components/method-details/availability/details-form.tsx +++ b/application/src/components/method-details/availability/details-form.tsx @@ -130,6 +130,10 @@ const AvailabilityDetailsForm = (props: TAvailabilityDetailsFormProps) => { clonedObject[selectedCountry][selectedCurrency].minAmount = ''; clonedObject[selectedCountry][selectedCurrency].maxAmount = ''; + clonedObject[selectedCountry][selectedCurrency].surchargeCost = { + percentageAmount: 0, + fixedAmount: '', + }; formik.setValues(clonedObject); };