Card Number Validation
Last updated
Last updated
Sometimes, cardholders might enter a cancelled, non-issued or invalid card number in the . This payment information is validated on the backend when you submit the sale request.
Credit card numbers are validated by:
Getting the card token.
Using card number field values, excluding non-numeric characters.
Passing the remaining digits through the Luhn algorithm.
Note: Passing the remaining digits of the credit card through the Luhn algorithm does not prove the validation but helps prevent typing errors.