#yourcat_check-google-pay-enabled

1 messages ¡ Page 1 of 1 (latest)

high barnBOT
#

👋 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/1222836692726055043

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

fading saffronBOT
left cobalt
#

Hi! Which Stripe UIs/APIs are you using to integrate Google Pay?

lean hill
#

Express checkout element for rendering the button, I think it's called. "The new one". I will check

left cobalt
#

Yep, sounds right

lean hill
#

Yes, it's express checkout element

left cobalt
#

At what point to you want to know if Google Pay is available? Prior to creating the ECE instance?

lean hill
#

I am aware it automatically shows the available methods, but as I said, our design is radio based.

#

Correct!

#

We do something like IF(apple pay exists) SHOW AP RADIO

#

would like to do something similar for GP

#

I guess, if I have to sneak render an ECE invisibly to know, I'd be open to that too.

left cobalt
#

That should return the available wallets, and is actually what we leverage under the hood

lean hill
#

I see, thank you!

left cobalt
#

Otherwise you can set the ECE to always show the wallet buttons regardless of if the customer has the wallet configured

lean hill
#

Am aware, thank you

high barnBOT
#

yourcat_check-google-pay-enabled

lean hill
#

worked perfectly, thanks again