#jeyamari_code

1 messages ¡ Page 1 of 1 (latest)

mossy orbitBOT
#

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

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

signal eagleBOT
#

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.

bold axle
#

Team, We actually wanted to know how postal code validation is done for International Card Payments. When using Card Elements, Postal Code is not displayed when using International Card Payments. I'm curious to know how it works?

finite geyser
#

The general idea is you let Stripe handle this kind of requirements for you. Regulations and laws changes and it's better to letting Stripe catch up and aim to maximize the conversion rate for merchants

bold axle
#

So Stripe allows Postal Code mandatory for US, UK and Canada, Can you correct me?

finite geyser
#

Yes that's what I remember too. You can reverse-investigate and see yourself, but keep in mind that can change in the future

bold axle
#

OK, A quick question,
If I need to decide on showing or hiding Postal code to customers, How to identify International Card Payments, How do I get control over it?

finite geyser
#

You mean before sending the confirmation call / submitting card to Stripe?

#

Don't think you can do that, unless you switch to PaymentElement and use the generated Payment Method first flow, which gives some level of information about the card before submitting

signal eagleBOT
bold axle
#
  1. Yes, I meant before sending card information to Stripe.
  2. I am using Stripe Card elements i.e cardNumber, cardExpiry, cardCVC for processing payments. I collect address information from customers. So I need control to show/hide postal code. Can you assist in such cases?
neat lake
#

I'd highly recommend using the PaymentElement instead, is that an option?

#

the way it works in the CardElement is it decides based on a BIN lookup on the card but that has many issues. The best way to handle the postal code is to ask the customer explicitly what country their billing address is, and if it's UK/US/CA, ask for their postal code. That's what the PaymentElement does.

bold axle
#

Can we get bin information on any events used in card elements?

#

And, If the Card issuing Country is US i.e Card number 4242 4242 4242 4242 and the customer has entered Country in Billing Address as Mexico, In such case Do we need to get Postal Code? What does Stripe Payment Element do in such cases?

neat lake
bold axle
#

I'm confirming it once. So Postal Code validation does not depend on issuing Country Code. It depends only on Billing Country.

#

And Can you kindly explain the issues faced when postal code check is based on BIN lookup?
It will be useful.

neat lake
#

well like I just said , in your example

#

I have a card issued in the US. I moved to Mexico and update my billing address to my new city. I try to buy something online. It asks for my postal code and I don't have one, my billing address is in MX. Now I'm stuck and can't pay

#

hence:

decides based on a BIN lookup on the card but that has many issues. The best way to handle the postal code is to ask the customer explicitly what country their billing address is, and if it's UK/US/CA, ask for their postal code. That's what the PaymentElement does.

bold axle
#

Thanks, In case of any discussion regarding this in future, Can I reopen this thread?