#dlavoieplannit
1 messages · Page 1 of 1 (latest)
Hi
Can you share more details about this? Are you getting a Stripe API error ?
There is no explicit error but the widget won't let the customer submit the payment since the zip code is not feeded
but since this customer is Canadian, he have a Canadian Zip code
which is alpha numeric 6 characters and don't fit to the zip code input mask
What widget exactly ? what Stripe product are you using can you share a screenshot ?
I have the screenshot but it show the CC number, do you want me to obfuscate it?
yes hide any sensitive data
this.stripeElements = this.paymentService.getStripe(this.stripeCountry, false, lang).elements();
this.stripeCard = this.stripeElements.create('card', { style: this._getCardStyle() });
this.stripeCard.mount(this.stripeCardDiv.nativeElement);
Ah You are using Stripe Card Element
oh, sorry for the wrong term
When creating the Card element, try passing hidePostalCode=true
https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-hidePostalCode