Stripe Card Element YES and ZIP Code

  • ozwest
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
3 months 3 days ago #124168 by ozwest
Stripe Card Element YES and ZIP Code was created by ozwest
I have enabled the Stripe Card Element and it works just fine.

I am using a Stripe test key to test it. I find that there is the field ZIP showing up whereby the ZIP field wants an input of 5 numbers!

We only have 4 numbers in Australia and often also in Europe and people trying to register might get very confused.

However, I am using the 4242 4242 4242 4242 Visa card to test and this might be set to the US??? So I wonder if somebody from another country such as Switzerland or Australia will not see it?

Do you know more about this?

Thank you

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #124242 by Russell Noble
Replied by Russell Noble on topic Stripe Card Element YES and ZIP Code
Hi,
we use Stripe Element in our service in Australia. By defaults the ZIP is not shown - we see only Card Number, MM/YY and CVC. If I use a US registered card, such as the test number, then the ZIP field is added automatically (although it is displayed as Postcode here, not zip).

We have registrations from around the world and never had an issue with it.

Russell

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #124244 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Card Element YES and ZIP Code
Thanks Russell for sharing your experience. This is something handled by Stripe (we just use their api for processing payment), so if you want to know the details, better contact Stripe support and ask them about it (they provide good support)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #124260 by Donal
Replied by Donal on topic Stripe Card Element YES and ZIP Code
Use international test card numbers to see what the experience is like for people in other countries.

stripe.com/docs/testing#international-cards

In my experience, it all works really well.

Please Log in or Create an account to join the conversation.

  • ozwest
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 months 3 weeks ago #124336 by ozwest
Replied by ozwest on topic Stripe Card Element YES and ZIP Code
Thank you all, I have a client who was willing to test this for me and yes, the ZIP field does not appear when a Swiss credit card is used.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc