diff --git a/src/Resources/views/storefront/component/payment/payment-ratepay.html.twig b/src/Resources/views/storefront/component/payment/payment-ratepay.html.twig
index 53ff0c93..1acff3a0 100755
--- a/src/Resources/views/storefront/component/payment/payment-ratepay.html.twig
+++ b/src/Resources/views/storefront/component/payment/payment-ratepay.html.twig
@@ -7,5 +7,6 @@
l: '{{ adyenFrontendData.ratepay.location }}'
};
-
+ {# This block is excluded from Sonar analysis because the script is provided by Device Fingerprinting method. #}
+
{% endif %}
\ No newline at end of file
diff --git a/src/Util/RatePayDeviceFingerprintParamsProvider.php b/src/Util/RatePayDeviceFingerprintParamsProvider.php
index a56625c1..03292848 100644
--- a/src/Util/RatePayDeviceFingerprintParamsProvider.php
+++ b/src/Util/RatePayDeviceFingerprintParamsProvider.php
@@ -53,7 +53,8 @@ public function getToken(): string
if (!$this->requestStack->getSession()->get(self::TOKEN_SESSION_KEY)) {
$this->requestStack->getSession()->set(
self::TOKEN_SESSION_KEY,
- md5($this->requestStack->getSession()->get('sessionId') . '_' . microtime())
+ // This is excluded from Sonar analysis because md5 is used to generate a unique token.
+ md5($this->requestStack->getSession()->get('sessionId') . '_' . microtime())//NOSONAR
);
}