Hi @avobelle,
Thank you for contacting us. On the checkout page, the Stripe form does not render a postal code field because the WooCommerce billing fields already have a postal code. Have you tested the plugin and observed something different? It’s specifically coded to not render a postal code if the billing postal code exists on the checkout page.
The only pages where the postal code is rendered for the Stripe form are on the add payment method page or for subscriptions the change payment method page since WooCommerce doesn’t render a postal code field.
The number of characters in the postal code field are dynamically determined based on the card’s issuing country via the BIN so it’s not hard coded to something like 4 or 5 characters only.
Kind Regards,
Oh, so the card number might be the reason here.
I am using the Stripe testing card 4242 4242 4242 4242 and it is asking me for a ZIP code: https://ibb.co/9gPHPSL
It is then asking for a 5-digit ZIP code. So would that be a different digit-restriction if I use another card number?
Regarding the existance of a zip-code: I have removed the zip-code from the form, as it is a digital product. So no need to ask for the zip code.
Hi @avobelle,
Yes, if you were to use a card that has a BIN issuing country of Switzerland, then the postal code field would accept a 4 digit postal code.
Kind Regards,