#crow-paymentelement-wallet

1 messages ยท Page 1 of 1 (latest)

astral ermineBOT
tiny basin
#

@quiet palm Apple Pay and Google Pay are card wallets so they appear as type: 'card' in this API

quiet palm
tiny basin
#

What does "add this payment type" mean though? What's not working?
As a developer you can't control this type as a PaymentMethod, this appears because card is enabled

#

crow-paymentelement-wallet

quiet palm
#

Google pay tab is not displaying, even when I add the card type.

#

I'd like to add the options highlighted in the image to my stripe elements UI. What option do I select to enable the google pay tab? I have added 'card' to the paymentMethodTypes and it is still not displaying.

tiny basin
#

Did you enable Google Pay in your account settings and are you using HTTPS when loading that page?

quiet palm
#

where under the account settings do I have to enable this? and yes I am using https.

tiny basin
quiet palm
#

yes they are enabled, I still don't see them

#

this is what my payment element looks like

        paymentMethodOrder: ['apple_pay', 'google_pay', 'card'],
        fields: {
          billingDetails: 'never',
        },
        wallets: {
          applePay: 'auto',
          googlePay: 'auto',
        },
      });```
tiny basin
#

Do you have a URL I can look at?

quiet palm
#

not sure I can do that while still developing.. any other ways to diagnose?

i can let you see when I log the payments object

tiny basin
#

can you share an exact PaymentIntent id?

quiet palm
#

I am creating the element before the payment intent

#
     this.elements = this.stripe?.elements({
        mode: 'setup',
        paymentMethodCreation: 'manual',
        paymentMethodTypes: ['card'],
        setupFutureUsage: 'off_session'
      });
tiny basin
#

Which exact docs are you following?

quiet palm
tiny basin
astral ermineBOT
quiet palm
#

Hey karbi, I don't think that is what I want. I would like to be able to save the payment method to a customer.

#

To charge later, can you do that with apple and google pay through stripe?

#

saving that payment method to the customers account.

tiny basin
#

Please share a picture of what you see on that page I linked you to @quiet palm

quiet palm
#

I can see the buttons

tiny basin
#

see, that's the problem!

#

Your browser is not properly configured for Google Pay. Your code isn't the issue

quiet palm
#

wait how can you tell by that image

tiny basin
#

the thing at the top in yellow saying Caution

#

that's why I sent you to that page. That confirms your current browser is not properly configured for Google Pay

quiet palm
#

that was a great idea!

#

I am using chrome thought and I have a payment method saved

tiny basin
#

if you visit chrome://settings/payments does it say GPay next to that card?

quiet palm
#

no

vestal trellis
#

๐Ÿ‘‹ hopping in here since koopajah has to head out - let me catch up

quiet palm
#

yes I do

#

Chrome is up to date
Version 113.0.5672.126 (Official Build) (x86_64)

vestal trellis
#

and you're not in incognito mode, right?

quiet palm
#

right

#

I am not in incognito

vestal trellis
#

and you have the google setting enabled at chrome://settings/payments that says "Allow sites to check if you have payment methods saved"?

quiet palm
vestal trellis
#

Can you remove that test card?

quiet palm
#

yes

vestal trellis
quiet palm
#

it is working when I click the buy button, do I have to go all the way throught?

#

Can make payment
No enrolled instrument

#

I restarted my broswer and that error went away

vestal trellis
#

Interesting....

#

well I'm glad that it's working now! ๐Ÿ™‚

#

google pay can be a little finnicky at times

quiet palm
#

thank you so much, I still have more questions should we start a new thread?

vestal trellis
#

If you have more questions you can just ask them here

vestal trellis
#

@quiet palm did you have more questions?