#Dhruvik2002

1 messages · Page 1 of 1 (latest)

winged horizonBOT
west spoke
#

Hi, I would like to know how can I validate postal code on Stripe payment if it is in right format or not? because it is not showing error if I write wrong postal code for Canada and other countries in test mode.

idle hemlock
#

What are you using to accept the zipcode?

west spoke
#

I was testing on payment mode using card details and in the end I need to put postal code to complete the purchase option.

idle hemlock
#

Yeah, but what Stripe product are you using to do that?

west spoke
#

global payments

idle hemlock
#

Global payments are made up of, like, 20+ products and APIs

#

Need you to be more specific

west spoke
#

Global Payments - Stripe Checkout. sorry for bothering you much.

idle hemlock
#

Checkout should already validate your postal code. If it is not doing that, then I would recommend reaching out to support and filing a ticket with them to look into it: https://support.stripe.com/contact

west spoke
#

Thank you. just to confirm - It should validate correct postal code and correct format in test mode also, right? Because I am using test mode at present.

#

and also give an error if the postal code is incorrect.

idle hemlock
#

Correct

west spoke
#

Thank you so much.