{
'en-GB': '',
},
name: {
+ 'de-DE': method.description,
'en-GB': method.description,
},
status: method.status === 'active' ? 'Active' : 'Inactive',
diff --git a/application/src/components/welcome/welcome.tsx b/application/src/components/welcome/welcome.tsx
index bb00482..bcd4e80 100644
--- a/application/src/components/welcome/welcome.tsx
+++ b/application/src/components/welcome/welcome.tsx
@@ -30,9 +30,7 @@ import { getErrorMessage } from '../../helpers';
import { SuspendedRoute } from '@commercetools-frontend/application-shell';
import MethodDetails from '../method-details';
import { useIntl } from 'react-intl';
-import { formatLocalizedString } from '@commercetools-frontend/l10n';
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
-import { NO_VALUE_FALLBACK } from '@commercetools-frontend/constants';
const Welcome = () => {
const intl = useIntl();
@@ -179,7 +177,11 @@ const Welcome = () => {
);
case 'name':
- return item.technicalName;
+ return (
+
+ {item.technicalName}
+
+ );
case 'image':
return (
{
>
);
case 'order':
- return item.displayOrder ?? '-';
+ return (
+
+ {item.displayOrder ?? '-'}
+
+ );
default:
return null;
}
diff --git a/application/src/hooks/use-mollie-connector/use-mollie-connector.ts b/application/src/hooks/use-mollie-connector/use-mollie-connector.ts
index 2662c05..ba85ba4 100644
--- a/application/src/hooks/use-mollie-connector/use-mollie-connector.ts
+++ b/application/src/hooks/use-mollie-connector/use-mollie-connector.ts
@@ -56,7 +56,7 @@ const convertMollieMethodToCustomMethod = (
acc[lang] = '';
return acc;
}, {} as Record),
- imageUrl: method.image.svg,
+ imageUrl: method.image.svg || '',
status: 'Inactive',
displayOrder: 0,
}));
diff --git a/processor/package-lock.json b/processor/package-lock.json
index 66b2637..9e068d6 100644
--- a/processor/package-lock.json
+++ b/processor/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "shopmacher-mollie-processor",
- "version": "1.2.0-alpha+build.10.10.24",
+ "version": "1.2.0-alpha+build.15.11.24",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "shopmacher-mollie-processor",
- "version": "1.2.0-alpha+build.10.10.24",
+ "version": "1.2.0-alpha+build.15.11.24",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -386,14 +386,6 @@
"node": ">=4"
}
},
- "node_modules/@commercetools-backend/express/node_modules/cookie": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
- "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/istanbul-reports": {
"version": "3.1.7",
"resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",
@@ -2126,11 +2118,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/color/node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
- },
"node_modules/jest-validate": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz",
@@ -2187,18 +2174,6 @@
"integrity": "sha512-xiNMgCuoy4mCL4JTywk9XFs5xpRUcKxtWEcMR6FNMtsgewYTIgIR+nvlP4A4iRCAzRsHMnPhvTRrzp4AGcRTEA==",
"dev": true
},
- "node_modules/pkg-dir/node_modules/locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
- "dependencies": {
- "p-locate": "^4.1.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/update-browserslist-db": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
@@ -2324,15 +2299,6 @@
"node": ">=10"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
- "dependencies": {
- "sprintf-js": "~1.0.2"
- }
- },
"node_modules/jest-cli": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz",
@@ -3379,14 +3345,6 @@
"semver": "bin/semver.js"
}
},
- "node_modules/winston-transport/node_modules/@colors/colors": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
- "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==",
- "engines": {
- "node": ">=0.1.90"
- }
- },
"node_modules/eastasianwidth": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
@@ -4549,11 +4507,6 @@
"node": ">= 0.8"
}
},
- "node_modules/@commercetools/connect-payments-sdk/node_modules/@types/triple-beam": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz",
- "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw=="
- },
"node_modules/shell-quote": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz",
@@ -4846,11 +4799,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/express/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
- },
"node_modules/define-properties": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
@@ -5165,18 +5113,6 @@
"@babel/core": "^7.0.0-0"
}
},
- "node_modules/pkg-dir/node_modules/p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.2.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
@@ -6921,21 +6857,6 @@
"node": ">= 0.6"
}
},
- "node_modules/pkg-dir/node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/ngrok": {
"version": "5.0.0-beta.2",
"resolved": "https://registry.npmjs.org/ngrok/-/ngrok-5.0.0-beta.2.tgz",
@@ -8222,12 +8143,6 @@
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
- "node_modules/sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
- "dev": true
- },
"node_modules/supports-color": {
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
@@ -9458,4 +9373,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/processor/package.json b/processor/package.json
index 3182309..8b09276 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-alpha+build.10.10.24",
+ "version": "1.2.0-alpha+build.15.11.24",
"main": "index.js",
"private": true,
"scripts": {