Just a simple Luhn check to make sure your users aren't typoing their credit card numbers. It's a small function, so just copy-paste it in to your code if you need it.