Google chrome has this functionality for scanning credit card to populate the fields during payment which works in Android Chrome ( not for all versions and devices of android )