medipass/react-payment-inputs

Custom card validation not working - cardNumberValidator

Opened this issue · 0 comments

Hi team,

Need your help to enable and validate - UATP card payment type.

I tried to configure custom card validation through cardNumberValidator function.

This function not calling due to utils -> validator.js ->
getCardNumberError function -> validateLuhn function is blocked to call the cardNumberValidator function.

Because of this we can't able to add custom card validation.

Could you please help on this ASAP.