#ash_code

1 messages ¡ Page 1 of 1 (latest)

stray coyoteBOT
#

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

📝 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.

kind nest
#

You don't need a client_secret in order to setup the payment method

silk moss
#

okaaaay and the event handler returns me form data

#

For Google pay for example ?

kind nest
#

I'm not sure for what you are referring exactly to "form data", but you simply need to follow that guide and use mode: setup and confirmSetup instead of confirmPayment.

silk moss
#

okay perfect

#

nice

#

but my google pay option isn't rendering do you have any idea what would cause this error ?

kind nest
#

It seems you have an extension or something blocking Google Pay

#

I'm not sure honestly...

silk moss
#

Can you link me to the docs or types where mode is defined

#

I can't find it in the types for ExpressCheckoutElement

stray coyoteBOT
silk moss
#

okay sure

#

How can I force 100% on the styling for the ExpressCheckoutElement

nimble orbit
#

100% of what?

silk moss
#

im so sorry

#

width: 100%

nimble orbit
#

you can just apply that style to the <div> that you place the ExpressCheckoutElement inside of and it should work as far as I know

silk moss
#

yeah but when you render two buttons

#

like apple pay and google pay, it'll just overflow no ?

stray coyoteBOT
nimble orbit
#

it shouldn't