#miketimturner-google-input
1 messages ยท Page 1 of 1 (latest)
Hi there! When you say "payment method managed by google" do you mean you are using a saved Chrome card and attempting to input those saved details into an Element?
Which integration flow are you using?
Payment Element? Or Card Element?
Card
Thanks
Thinking....
Okay doing some testing on my end.
Haven't played with this before
Give me a few more minutes
Are you seeing this in test mode, live mode, both?
I'd assume it is the same regardless but just to make sure
And it worked fine with a test card?
But when you used a real card it was clearing your CVC?
Don't know I don't have a test card saved in Google
Ah okay one sec.
I would add one but I'm currently away from the computer
No worries, still testing
Huh okay this is strange
I'm having no problem prefilling the CVC
It isn't getting cleared for me.
Are you doing any event handling for the Card Element?
I'm only listening for errors and the callback doesn't call clear or anything.
Did you use both test and live cards?
Yes, but wasn't getting a prompt for CVC at all with the test card.
The live card prompted and pre-filled without clearing
Hmm strange
Let me add a test card
Yeah the test card doesn't ask for a csv so it doesnt clear when prompted
You don't happen to see anything in your Console when you enter the CVC prompt for your live card do you?
I'd also recommend trying in another browser, like Firefox.
Curious if maybe an extension is messing with the CVC pre-fill for some reason.
Ok this is what I have so far
I can add a test card to chrome but this doesn't require validation
My live cards, although they are shown in chrome are sowing from Google Pay
I cannot add a test card in Google Pay
When I click a saved card from the stripe element, the input clears due to default behaviour and as soon you you confirm the csv it should populate the input with the full card number, expiry date etc
But it doesnt
I just added a basic input with cc-number style and it worked as expected
Is the whole input clearing?
Or just the CVC?
I was under the impression you meant just CVC was being cleared and needed re-entering
If the whole Element is clearing then it sounds like it is re-rendering for some reason here
Kind of yeah but let's say you type 42 in the number and it shows you cards starting with 42 when you click one ot clears the input ad expected and prompts for the csv where it would usually fill the input with the full number but it doesn't get filled
Does it flash like it gets filled and then disappears? Or you don't see anything at all?
Nothing
๐ I'm just hopping in since bismark needs to head out
Is this something you see happen only on your own integration, or do you see it happen other places like https://stripe-payments-demo.appspot.com/
Gotcha - so it's likely not something wrong with autofill overall, but maybe something more specific to your integration. Do you have a site we can take a look at and try out?
It's working now. I've honestly not changed any code. I don't know what's happened
I tried your demo site and it worked and went back to my app and it also mm worked
I must have tried it 20 times without the working
I need to keep playing with it
That's very strange - I honestly have never heard of that happening before. If it happens again let us know!
Maybe it was an issue with Google Pay as now its saying "This card can't be verified at the moment" ๐คฆโโ๏ธ
Thanks for your time guys
Happy to help! And sorry we don't have more definitive answers ๐ฆ