VTEX now allows validating credit and debit card numbers with the Luhn algorithm at checkout.
What has changed?
Previously, when a customer entered the card number at checkout, it was not possible to identify whether it was a valid card. When there were typing errors, the transaction was created but then canceled during authorization.
Now, the Luhn algorithm will ensure that only a valid card number can be used for payment, which will reduce the percentage of declined transactions due to invalid card numbers.
If a customer enters an incorrect number, an error message is displayed at checkout. In such cases, the customer must check and correct the number to complete the purchase.
Why did we make this change?
Having a payment transaction declined due to an invalid card number could lead customers to give up on buying again, as they would have to enter the card number again. So, this improvement in the shopping experience aims to increase your store conversion rate.
What needs to be done?
No action is required. The Luhn algorithm is already active in all VTEX stores.
The Luhn algorithm does not prevent fraud through card testing attacks. Its purpose is to detect typing errors in card numbers.