Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent "Scan new Card" on chrome

On the Payment page, we have text field for Credit card number. When the field is selected on android phone through chrome browser, it brings up "Scan new card". How to prevent this pop up? Any idea?

like image 507
user472269 Avatar asked Oct 24 '25 15:10

user472269


1 Answers

In my situation I changed the name of the field, the label of the field, the id of the field, added autocorrect="none" autocomplete="none" and change the name of my onblur function from "validateCCNumber" to something that did not have ccnumber in it.

like image 163
Tom Hanson Avatar answered Oct 26 '25 04:10

Tom Hanson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!