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); }; diff --git a/processor/package-lock.json b/processor/package-lock.json index daa82dc..fbc9d7e 100644 --- a/processor/package-lock.json +++ b/processor/package-lock.json @@ -1,12 +1,12 @@ { "name": "shopmacher-mollie-processor", - "version": "1.2.0-alpha21.11.24.1151", + "version": "1.2.0-alpha22.11.24.1410", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "shopmacher-mollie-processor", - "version": "1.2.0-alpha21.11.24.1151", + "version": "1.2.0-alpha22.11.24.1410", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/processor/package.json b/processor/package.json index 9b915f1..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-alpha21.11.24.1151", + "version": "1.2.0-alpha22.11.24.1410", "main": "index.js", "private": true, "scripts": { diff --git a/processor/src/service/payment.service.ts b/processor/src/service/payment.service.ts index 9c3c56d..61c4700 100644 --- a/processor/src/service/payment.service.ts +++ b/processor/src/service/payment.service.ts @@ -446,6 +446,8 @@ export const handleCreatePayment = async (ctPayment: Payment): Promise