Closed anbernar closed 1 year ago
Sounds like we're dealing with either two different IDs altogether or a new version of the ID number 🧐
I think our best bet is to ask a national
So I asked a friend and it seems we have ourselves a pickle. According to her, the ID format is "AB1CDEF23".
What we have is the social security number. Seems like it's Google time for this one again @JoaoFSCruz... 🙁
Well, I guess it is 😅
If I find anything I'll post it here so we can be on the same page.
We need to reimplement this validator from scratch
According to this documentation and this wikipedia page, the Luxembourg ID validation is performed by:
This is not what is happening in: https://github.com/reducktion/socrates/blob/b55f58117a171df1b8180183479a27c29cdd496a/src/Core/Luxembourg/LuxembourgIdValidator.php#L29
I've been trying to get some real ID's to test it, but I wasn't successful.
Can you check?