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;