Company number for germany invalid
-
The company number in Germany has the following scheme according to Mangopay:
2-3 letters + 1-6 numbers (LLLXXXX) or 2-3 letters + 1-6 numbers + 1 letter (LLLXXXXXXL) or 2-3 letters + 1-6 numbers + 1-2 letter (LLLXXXXXXLL)
In check_company_number_patterns($company_number) function a check is given for a fixed number of digits.
Thus, validation will fail if a company number contains 2-3 letters + 4 or 5 numbers or 2-3 letters + 4 or 5 numbers + 1-2 letters.
This validation is required for companies in Germany. Without an adjustment of the validation function a commercial use of this plug-in is not possible for german companies.
Fix the validation method or insert an hook. BTW: I need these changes in short time.
- The topic ‘Company number for germany invalid’ is closed to new replies.