My Oracle Support Banner

Credit Card Number Validation - Luhn Algorithm (Doc ID 1360532.1)

Last updated on SEPTEMBER 13, 2023

Applies to:

Oracle Payments - Version 12.1.3 and later
Information in this document applies to any platform.

Goal

Why is the Luhn check performed only for some credit cards and for others no check is made?
For example, a credit card having a length of 16 digits that does not pass the Luhn check will be rejected, however a card with all number 9's will be accepted into the system.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.