#john-l_code
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/1345043700396458106
đ 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.
- john-l_best-practices, 17 hours ago, 27 messages
Hi, what are you exactly trying to remove? Can you share a screenshot?
We document what you can style using the Appearance API here: https://docs.stripe.com/elements/appearance-api
Let me test a couple of things
would it be the Tab?
Yeah, I was messing with TabLabel: https://docs.stripe.com/elements/appearance-api#tabs
Let me confirm with a teammate, I can't seem to control it with my tests
That does not appear to be controllable after confirming with a teammate. Can you speak more to why you'd want to hide this?
we only support card payment right now so it looks a little out of place
it's not in the Figma file from designers and I want to give them the feedback
just needed to be certain I couldn't change it
Ah, it looks like if you use layout type=tabs the card label should go away automatically for card only
layout: { type: "tabs", defaultCollapsed: false, },
You're using the accordion layout so you'd want to change that
Please note that unless you have wallets disabled tabs could appear for google/apple pay
Can you try this?
Sure
related to the PaymentElement
If I'm integrating the Paymennt Element for new card payments, but someone has an existing card payment method, are the paymenet methods connectted to the PaymentElement in any way, or do I have to manage someone selecting an existng card within my own code?
We document this here: https://docs.stripe.com/payments/save-customer-payment-methods#display-existing-saved-payment-methods
If you collect their consent, you can choose to surface it like the document suggests.
thanks.. i'll take a look
Otherwise, you can retrieve the payment method and surface that on your UI. That would work but I do not know how that works on the compliance side.