#jweirdkid_react-postalcode
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/1278483767257858119
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
jweirdkid_react-postalcode
Hey @west dew. The "postal code element" has been deprecated/discouraged for many years. It also was never required.
We do recommend that you build your own input field/form to collect the postal code. We also recommend asking for a country so that you can validate/format the postal code properly (US is 90210 when Canada is H1H 2H2, etc.)
Or you can move to our PaymentElement which is newer and much more powerful: https://docs.stripe.com/payments/payment-element
Got it I only say required as apparently my team was told long ago they needed that to accept payments. So i was just trying to figure out why is ZipCode gone. So would you recommend just using the PaymentElement
oh for sure, if you are upgrading I'd definitely recommend our newer element. It's better for cards already but it also supports many other payment methods