#Peter Silie
1 messages · Page 1 of 1 (latest)
Hi there
Payment Element will already require Postal Code when it is relevant for the Payment Method Type
You don't have to do anything specific to make that happen
No, it not there.
Ah yeah that is because the country that is set is Germany where the issuers don't care about postal code for billing details so we optimize and don't collect it via Payment Element.
If you want to always collect it for reasons outside of payment then you would create your own form to collect it and set postalCode: never when you create Payment Element: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-address-postalCode
Ok, I'll take a look. 👀
Isn't that the correct syntax?
Because nothing happents
I can disable it but I want the oposite. I wan't to enable it foe all countrys.