#simon_api

1 messages · Page 1 of 1 (latest)

hasty cobaltBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1286484813569593436

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dire swallow
#

Hi there, is the PaymentElement and ExpressCheckoutElement wrapped in the same Stripe elements?

unique sedge
#

yes

dire swallow
#

You can also combine the Payment Element with the Express Checkout Element. In this case, wallet payment methods such as Apple Pay and Google Pay are only displayed in the Express Checkout Element to avoid duplication.

unique sedge
#

I don't want to use ExpressCheckoutElement at all. I tried it to see if Google Pay and Apple Pay would work there, but my intention is to stick with PaymentElement only

#

So I see those wallets work on my account (inside ExpressCheckoutElement), but for some reason they don't show up when I use PaymentElement only

dire swallow
#

Is there a public URL that I can visit to check your paymentElement integration?

unique sedge
dire swallow
#

I can see Google Pay button

#

Do you have a valid card added to your Google Pay wallet?

unique sedge
#

yes

dire swallow
#

Are you testing from a country where Google Pay is supported?

unique sedge
#

right now it is showing as part of the expresscheckoutelement

#

as I still have it included

#

USA

dire swallow
#

Ah I see, do you have another URL where the page only include paymentElement?

unique sedge
#

I can re-deploy, it will take a few minutes...

dire swallow
#

Sure, let me know when it's ready. I can wait.

unique sedge
#

redeployed

#

now it only has paymentElement

#

I also use linkAuthentication but only to render Email field. I have Link disabled on the dashboard

dire swallow
#

I just refreshed the same page and I can see the Google Pay button from the paymentElement

unique sedge
#

Let me try in Incognito window...

dire swallow
#

And here's the Apple Pay

#

Hmm, looks like you are trying to pay with a saved payment method?

unique sedge
#

I still don't see it, even in the Incognito window

#

In Safari I started seeing Apple Pay

#

I am using Brave on Mac, could this be a reason?

#

I used it before with ExpressCheckoutElement and it worked

dire swallow
#

Ah, can you test in Chrome?

unique sedge
#

need to install it, one sec

dire swallow
#

Sure, remember to log in your Google account in Chrome

unique sedge
#

my bad, was too much in rush, didn't read your message

#

still nothing

#

even with logged in account

dire swallow
#

Can you confirm if you have an active card in your Google Pay wallet?

unique sedge
#

Yes, I confirm

dire swallow
#

Is it an actual card or a test card from google pay test suite?

unique sedge
#

it is an actual card

#

I have a few registered there

dire swallow
#

That’s really strange. Can you test the same in another computer?

unique sedge
#

I don't have one handy, but I will in abit later. I guess the fact that it works for you proves the point, I just need to figure out why it doesn't work for me

#

I see some warning messages in the browser console

#

I didn't see those warnings before in Brave

dire swallow
#

I have the same warnings in console, so I don't think that's the cause of problem.

unique sedge
#

I am running Monterey 12.7.6 (21H1320) on my Mac, this is the latest I can install, could this be a reason? (highly unlikely but want to confirm)

dire swallow
#

I don't think so. Do you have an android phone? you can also test Google Pay in Chrome mobile app

unique sedge
#

yes, I do, will test it now...

#

I see Google Play on my Android phone!!!

#

I guess not much you can help me with at this point

#

thank you anyway for pointing to the direction

dire swallow
#

I don't have a Mac running Monterey OS right now and I'm unable to reproduce the problem. If you want to continue the troubleshooting, can I ask you to write in to Stripe support https://support.stripe.com/contact/email ? They will forward your ticket to us and I'd continue helping you through emails.