如何在Android中为Google Chrome启用“扫描新卡"选项? [英] How to enable 'scan new card' option for Google chrome in android?

查看:111
本文介绍了如何在Android中为Google Chrome启用“扫描新卡"选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google chrome具有此功能,可用于扫描信用卡以在付款期间填充字段,该功能在Android Chrome中有效(不适用于所有版本和android设备).

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 ).

我已经附上了屏幕截图.

I have attached the screenshot.

它在其他网站上显示,但不在我的网站上显示.我们是否对html dom的内容有任何引用才能使其正常工作?

It shows on other websites, but not in my website. Do we have any references to what should be the content of html dom for it to work?

推荐答案

基于

Based on this article the payment fields are completely wonky. In order to build a cross browser autofill form with credit card scan feature (if browser supports it) you need:

  1. 添加自动填充属性
  2. 对输入名称属性使用公用值
  3. 添加与Safari寻找的列表匹配的名称和/或标签值
  4. 使用具有有效证书的HTTPS

这里是最终测试形式.

这篇关于如何在Android中为Google Chrome启用“扫描新卡"选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆