#johan_docs

1 messages ยท Page 1 of 1 (latest)

reef shuttleBOT
#

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

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

crude pilot
proud isle
#

Hmm, are you rendering both paymet element and card element?

#

Is there a public URL that I can visit to reproduce the problem?

crude pilot
#

nope. just the payment element

#

let me get my url public

#

I will share it in a sec

#

let me know if that works

proud isle
#

OK, I saw the same problem

#

it looks like the height for div StripeElement is only 40 px, can you increase it?

crude pilot
#

you mean the <Element /> component?

#

I'm only using Element and PaymentElement from stripe

proud isle
#

Let me take a closer look

crude pilot
#

okay no problem thanks!

proud isle
#

It looks like it's caused by the StripeElement class from main.scss. If I remove the class from the div, the "Card number" element is gone.

crude pilot
#

fantastic

#

great find thank you so much

#

that's an old file overriding the PaymentElement properties

#

you can see in your end that I removed the classs and it's all good now

proud isle
#

Did you fix the problem? I just refreshed the page and looks like it renders correctly.

crude pilot
#

yes thank you so much!

#

I actually have another question

proud isle
#

Nice!

crude pilot
#

if I want to display other payment methods apart from card, how do I do this?

#

we have multiple connected accounts and we'd like to allow them use other payment methods

crude pilot
#

thank you so much jack ๐Ÿ™

#

this is all from me

#

really appreciate your help, have a great day