I
I
Ivan_Volyk2019-05-21 06:00:36
Google
Ivan_Volyk, 2019-05-21 06:00:36

How to correctly implement form autofill with Google Pay tips?

Given: there is a form for the web, when filling out the form from a mobile, namely entering a credit card number, a hint should pop up that you can connect the google pay payment (as on the layout).
5ce3696314486975492716.jpeg
I tried to implement with autocomplete attributes:

<form>
    <label for="frmCCNum">Card Number</label>
<input type="tel" name="cardnumber" id="frmCCNum" required autocomplete="cc-number">
  </form>

and according to this article: 4xpro.ru/profblog/google-pay-2
but nothing happened. Are there any tutorials or ready-made solutions on how to accomplish this task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Kulikov, 2019-05-21
@Ivan_Volyk

As far as I understand, the data on the card is automatically offered (if there are correct metas in the markup), if any: Autocomplete Google Pay forms .
Therefore, most likely, if there is no data on the card in the account, then there will be no offers to pay.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question