From 94d3bac24fb94513f52ad6db1d87db0a6ba616f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Mon, 16 Dec 2024 16:45:28 +0100 Subject: [PATCH] MAG2-329 - Changed cardholder validation regex --- .../web/js/view/payment/method-renderer/creditcard-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/creditcard-method.js b/view/frontend/web/js/view/payment/method-renderer/creditcard-method.js index 053ca0b7..28c7eeea 100644 --- a/view/frontend/web/js/view/payment/method-renderer/creditcard-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/creditcard-method.js @@ -178,7 +178,7 @@ define( return false; }, isCardholderDataValid: function (sCardholder) { - if (sCardholder.search(/[^a-zA-ZÄäÖöÜüß\-\. ]+/) === -1) { + if (sCardholder.search(/[0-9]+/) === -1) { return true; } return false;