Follow this thread for the instructions. I was able to use the scanner now for reading card number.
https://forum.mendix.com/link/questions/91252.