Hi All,
I know this is an old thread but I thought I'd help out here, you can add a js script into papercut and use the hex2dec command which is natively supported in papercut. What we do is make papercut read the Paxton number.
We use the ext-device.card-no-converter option with the argument as hex2dec|javascript:custom/cardconvert.js and our script reads as below:
function convert(cardNumber) { var returnValue; if (cardNumber.length == 10) { returnValue = cardNumber.substring(2,10).toLowerCase(); } else if (cardNumber.length == 9) { returnValue = cardNumber.substring(1,9).toLowerCase(); } else if (cardNumber.length == 7) { returnValue = '0' + cardNumber; } else { returnValue = cardNumber; } return returnValue;}
Hope this helps someone out.