Title: Remove Postal Code From Stripe Form
Last modified: May 16, 2020

---

# Remove Postal Code From Stripe Form

 *  Resolved [avobelle](https://wordpress.org/support/users/avobelle/)
 * (@avobelle)
 * [6 years ago](https://wordpress.org/support/topic/remove-postal-code-from-stripe-form/)
 * I would like to use the standard Stripe form for credit cards on my online shop.
   However, this form requires a postal code / zip code entry by default. The postal
   code is validated to be 5 characters (no more, no less). However, in Switzerland
   we only have 4 characters. Is there a way to get rid of the postal code in the
   Stripe form for credit cards?
 * Thanks for your support!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years ago](https://wordpress.org/support/topic/remove-postal-code-from-stripe-form/#post-12844668)
 * Hi [@avobelle](https://wordpress.org/support/users/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,
    -  This reply was modified 6 years ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  Thread Starter [avobelle](https://wordpress.org/support/users/avobelle/)
 * (@avobelle)
 * [6 years ago](https://wordpress.org/support/topic/remove-postal-code-from-stripe-form/#post-12868374)
 * 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](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.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years ago](https://wordpress.org/support/topic/remove-postal-code-from-stripe-form/#post-12870973)
 * Hi [@avobelle](https://wordpress.org/support/users/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,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Postal Code From Stripe Form’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

## Tags

 * [Postal Code](https://wordpress.org/support/topic-tag/postal-code/)
 * [zip code](https://wordpress.org/support/topic-tag/zip-code/)

 * 3 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/remove-postal-code-from-stripe-form/#post-12870973)
 * Status: resolved