Card Number Validation

Sometimes, cardholders might enter a cancelled, non-issued or invalid card number in the Payment Form. 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.

Last updated

Was this helpful?