#tomski_cb-romania
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/1238147555951382538
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Using 4000 0025 0000 1001 here ^ No dropdown shown.
Hi, we document how to use co-badge cards here, https://docs.stripe.com/co-badged-cards-compliance?type=web-elements. The PaymentElement supports card brand choice by default. Can you share the URL for your test site where I can try to replicate this?
Yes, thats the documentation I've followed. I can send the link in private
It is a card element as you can see in the code
PaymentElement comes directly with this option, but on the card element section it needs the hideIcon value set to false or undefined (according to documentation)
Which I did, but nothing changes inside the card element UI.
Ah, sorry you're rught. Looking at the CareElements now. Hang tight
Still spinning up a test on my end, thank you for your patience.
Where is your account based off of?
I was able to test this on my end, and can confirm that as long as your acccount is based in EU, it should work.
In Romania
As soon as I changed my API keys to an EU account, it worked for me
Did you checked the URL I've sent you in DM?
yes, that is in live mode so I can't test 4000 0025 0000 1001 for instance.
Let me try to spin up a Romanian account and try that way
Good point
Yeap, it works for my Romanian test account.
I think the culprit is that you're trying a test card in live mode
tomski_cb-romania
I recommend that you use this test card using your test API keys in your test environment
Hmm but on the local machine I'm using a test key
And still doesn't show the dropdown option
Hmm, I copied the code you provided above
Can you share the account id with me so I can further debug this? On my test account, it just works.
My collegue from Payments team just left, I don't have the info unfortunately. Can I contact you tomorrow after I get it?
Sure! I just copied your code and create a Romanian account and it worked. However, if I use API keys from non EU countries, I no longer see this drop down option. For this reason, I think checking your API keys carefully and ensuring that it's from an EU account would be helpful.
I see. On my local machine, the key starts like this pk_test_ so I'm assuming it is the right one to use for this. However, my default geolocation on local machine project is set on US, so maybe that might be another issue
I'm testing from US too so I do not think that is the case. What I meant is that make sure that pk_test_ belongs to your EU account and not your US account.
@sour kiln can you create a PaymentMethod like pm_123 or do something and share an object id like the PaymentIntent?
I would be able to check what's going on in a few minutes