#tomski_cb-romania

1 messages ¡ Page 1 of 1 (latest)

tardy mossBOT
#

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

raw ravineBOT
sour kiln
#

Using 4000 0025 0000 1001 here ^ No dropdown shown.

carmine laurel
sour kiln
#

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.

carmine laurel
#

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.

sour kiln
#

In Romania

carmine laurel
#

As soon as I changed my API keys to an EU account, it worked for me

sour kiln
#

Did you checked the URL I've sent you in DM?

carmine laurel
#

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

sour kiln
#

Good point

tardy mossBOT
carmine laurel
#

Yeap, it works for my Romanian test account.

#

I think the culprit is that you're trying a test card in live mode

finite dune
#

tomski_cb-romania

carmine laurel
#

I recommend that you use this test card using your test API keys in your test environment

sour kiln
#

Hmm but on the local machine I'm using a test key

#

And still doesn't show the dropdown option

carmine laurel
#

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.

sour kiln
#

My collegue from Payments team just left, I don't have the info unfortunately. Can I contact you tomorrow after I get it?

carmine laurel
#

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.

sour kiln
#

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

carmine laurel
#

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.

finite dune
#

@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

sour kiln
#

Let me try

#

pm_1PEZbjIPuSwjvuwtf5MzQvvp ?

finite dune
#

yeah that Stripe account is from the UK, that's likely why it doesn't work

#

create a brand new Stripe account based in a European country such as Romania and use the API keys from that account

sour kiln
#

Allright then, now makes sense with the UK thing

#

Thank you very much @finite dune