#dirtyred_google-pay-responsive

1 messages ยท Page 1 of 1 (latest)

modest lanternBOT
#

๐Ÿ‘‹ 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/1349504647127367791

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

slate gust
#
const expressCheckoutElement = elements.create('expressCheckout', {
    layout: {
        maxRows: 0,
        maxColumns: 1,
        overflow: 'never'
    }
});
#

google pay does not show up in any controllable fashion - is there a way to force google pay to show up at all times no matter what device or viewport size i am on?

#

on mobile - apple pay renders but not google pay

pure gull
slate gust
#

so i am testing on a single page with a single browser on a single device - just changing viewpoprt width and options appear and dissapear - on desktop it shows LINK, AMAZON PAY, GOOGLE PAY

when shrinking the viewport, only LINK and AMAZON PAY show up

that is expected behavior and i have no control over that?

pure gull
#

I'm so sorry your second message just didn't render on my screen for some reason until I'd sent a reply. Weird.

#

That's a horse of a different color. Let me look

slate gust
#

no worries, thank you

modest lanternBOT
slate gust
#

i see the issue - you hide google pay if APPLE is detected in any way shape or form in the header of the browser or device type

#

my browser is fully capabale of going GOOGLE PAY - i use it all the time and it works great even in the test environment via stripe. The second i select a responsive design size that is associated to an apple device - you hide google pay - even though my browser is perfecctly capabable of making GOOGLE PAY payments

#

im using your own test page

grand aspen
#

Hi! Jumping in for palamedes.

#

So on an Apple device with a card in the Wallet it would only show Apple Pay? That ... actually seems like reasonable behaviour?

Am I missing something?

slate gust
#

yea im more interested in GOOGLE PAY and how it shows up

#

apple pay is not an issue

#

my browser has google pay and has a card associated - google pay shows up
when i enter a responsive design size - 430 x 932, google pay dissappears

#

same browser, same device

#

and i realized the issue - you are not checking if the browser actually can do GOOGLE PAY, you are simply parsing the device headers and making your decisions based on that - which threw me and my engineering team for a loop

#

anyway thank you - have a nice day

grand aspen
#

Awesome, I didn't know that. Thanks for teaching me stuff. ๐Ÿ˜‚ You too!