Marketplace/Mod10 Credit Card Validation Function/
Asset Logo
Asset Version: 1.0
Last Published: Oct 11, 2017
By: matt trevathan
  • Screenshot
Screenshot
Asset Version: 1.0
Last Published: Oct 11, 2017
By: matt trevathan
Modulus 10 is very important validation function for all banking application where user card details can be validated before processing further to server side or functionality. This simple code module can be used to validate credit card numbers before submitting them to a back end service.
Devices
  • icon
  • icon
  • icon
Platforms
  • icon
  • icon
  • icon
  • icon
  • The module has a single function, validateCCNumByMod that takes in a single parameter crCardNum.
  • If the credit card is valid, the function returns true.