#jay_cardelement-postalcode

1 messages ¡ Page 1 of 1 (latest)

agile sigilBOT
#

👋 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/1293253454093091020

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dusky oriole
#

jay_cardelement-postalcode

#

@analog carbon the ask depends on the card being entered. If you use our Canadian test card it's going to ask for postal code. Try the test card 4000001240000000 and see

#

As for your last question: that's impossible. We use the card's BIN to determine the likely billing country. If you have a US card with a Canadian address, we will expect a US zip code.
It's a long standing limitation. That's partly why when we built PaymentElement we added a clear country dropdown to avoid that situation

analog carbon
#

So this card eleemnt is used in our saas web forms app - so different organizations will have different requirements on if they want the zip code to show.

#

So in this situation, what do you suggest?

That's why I asked if there is a way to turn this requirement off from the admin dashboard so users can manage this requirement themselves from Stripe

dusky oriole
#

did you see my answer above? I addressed the why and the way to disable collection

analog carbon
#

I saw your answer on how to disable collection at the code level. I saw that article before I came here

#

My question was from the stripe management area as well but I'm assuming not

dusky oriole
#

I don't really know what "the stripe management area" could mean

analog carbon
dusky oriole
#

ah gotcha the Dashboard. Then unfortunately the Dashboard doesn't support changing/localizing the postal code format today unfortunately. I'd recommend reaching out to our support team to flag this limitation: https://support.stripe.com/contact

agile sigilBOT
analog carbon
#

i read in another forum that if there is a zip/postal code field on the form already, the stripe card element will not ask for it - is this valid?

analog carbon
lapis arrow
#

Hello! I'm taking over and catching up...

analog carbon
#

Thanks!

lapis arrow
#

You can ask for a zip/postal code using your own form, pass that value in using code, and turn off zip/postal code collection in the Card Element (also done in code).

#

The area is referred to as the Stripe Dashboard.

analog carbon
#

How can I pass the postal/zip from our from to stripe element?

lapis arrow
#

Are you asking how you can remove the zip/postal code collection from the Card Element?

analog carbon
lapis arrow
#

Oh, gotcha. It depends on how your integration works. Are you using stripe.confirmCardPayment or something else?

analog carbon
#

Embedding the iframe