#johan_docs
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hmm, are you rendering both paymet element and card element?
Is there a public URL that I can visit to reproduce the problem?
nope. just the payment element
let me get my url public
I will share it in a sec
let me know if that works
OK, I saw the same problem
it looks like the height for div StripeElement is only 40 px, can you increase it?
you mean the <Element /> component?
I'm only using Element and PaymentElement from stripe
Let me take a closer look
okay no problem thanks!
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.
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
Did you fix the problem? I just refreshed the page and looks like it renders correctly.
Nice!
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
https://docs.stripe.com/connect/dynamic-payment-methods?connect-payment-integration-type=checkout&connect-charge-type=direct&connect-dashboard-type=full#enable-payment-methods-connected-accounts this doc should help you