title: Stripe Elements forcing a postal code
body: <p>Stripe seems to be handling ZIP/postalcodes incorrectly when it comes to using their Stripe Elements API. This issue occurs only when the elements are split-up into parts, such as Card Number, ZIP, and CVC, as opposed to using the all-in-one solution that they offer.</p>
  
  <p>If you go to the stripe elements example page located here:
  <a href="https://stripe.com/elements/examples" rel="noreferrer">https://stripe.com/elements/examples</a></p>
  
  <p>And take a look at example 2 (the one with the yellow Pay button), stripe forces the user to input a postal code even when the country tied to the credit-card does not use one (Hong-Kong, for instance).</p>
  
  <p>You can easily test this using Stripe's own International Test Card Numbers.</p>
  
  <p>If you try to click the Pay button without entering a zip, you get the error, </p>
  
  <blockquote>
    <p>Your postal code is incomplete.</p>
  </blockquote>
  
  <p>which is incorrect.</p>
  
  <p><a href="https://i.stack.imgur.com/dOxJb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dOxJb.png" alt="You can see that in this image here"></a></p>
  
  <p>Many countries simply don't require a postcode - so this renders the examples on the Stripe page useless for any country that does not require a postcode.</p>
  
  <p>Their internal code seems to be able to determine the internationalization of the card, because the all-in-one examples HIDE the zip field for this case.</p>
  
  <p>Doe anyone see a way around this error?</p>
  
  <p><strong>UPDATE 11/2/2017</strong></p>
  
  <p>They have since fixed this bug, and the postal code should no longer be required in countries that do not require it. Thanks for your help!</p>