#miketimturner-google-input

1 messages ยท Page 1 of 1 (latest)

compact narwhal
#

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?

rocky otter
#

Yeah thats correct

#

Stripe elements

compact narwhal
#

Payment Element? Or Card Element?

rocky otter
#

Card

compact narwhal
#

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

rocky otter
#

Test mode

#

I was hoping this was the reason

compact narwhal
#

And it worked fine with a test card?

#

But when you used a real card it was clearing your CVC?

rocky otter
#

Don't know I don't have a test card saved in Google

compact narwhal
#

Ah okay one sec.

rocky otter
#

I would add one but I'm currently away from the computer

compact narwhal
#

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?

rocky otter
#

I'm only listening for errors and the callback doesn't call clear or anything.

#

Did you use both test and live cards?

compact narwhal
#

Yes, but wasn't getting a prompt for CVC at all with the test card.

#

The live card prompted and pre-filled without clearing

rocky otter
#

Hmm strange

#

Let me add a test card

#

Yeah the test card doesn't ask for a csv so it doesnt clear when prompted

compact narwhal
#

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.

rocky otter
#

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

compact narwhal
#

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

rocky otter
#

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

compact narwhal
#

Does it flash like it gets filled and then disappears? Or you don't see anything at all?

rocky otter
#

Nothing

ashen thunder
#

๐Ÿ‘‹ I'm just hopping in since bismark needs to head out

rocky otter
#

Let me give it a go

#

It works fine

ashen thunder
#

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?

rocky otter
#

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

ashen thunder
#

That's very strange - I honestly have never heard of that happening before. If it happens again let us know!

rocky otter
#

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

ashen thunder
#

Happy to help! And sorry we don't have more definitive answers ๐Ÿ˜ฆ